// id_category_default is now for multishop
git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@13624 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
1 parent
587c649517
commit
02d98b237e
22 files changed
+172
-49
No files matched your search
@@ -13,6 +13,9 @@ function generate_root_category_for_multishop()
|
||||
(0, 0, 1, NOW(), NOW(), 0)
|
||||
');
|
||||
$id = Db::getInstance()->insert_id();
|
||||
// set vars config
|
||||
Configuration::set('PS_ROOT_CATEGORY', $id);
|
||||
Configuration::set('PS_HOME_CATEGORY', 1);
|
||||
|
||||
$langs = Db::getInstance()->executeS('
|
||||
SELECT `id_lang`
|
||||
|
||||
@@ -31,3 +31,5 @@ CREATE TABLE `PREFIX_carrier_tax_rules_group_shop` (
|
||||
INSERT INTO `PREFIX_carrier_tax_rules_group_shop` (`id_carrier`, `id_tax_rules_group`, `id_shop`)
|
||||
(SELECT `id_carrier`, `id_tax_rules_group`, `id_shop` FROM `PREFIX_carrier`, `PREFIX_shop`);
|
||||
ALTER TABLE `PREFIX_carrier` DROP `id_tax_rules_group`;
|
||||
|
||||
ALTER TABLE `PREFIX_product_shop` ADD `id_category_default` INT( 11 ) UNSIGNED DEFAULT NULL;
|
||||
Reference in new issue
Block a user