// Carrier range price / weight for multishop + fix duplicate of carrier_lang when a new shop is created

This commit is contained in:
rMalie
2011-07-25 10:32:56 +00:00
parent 0aba3ba000
commit 8b2e514197
8 changed files with 234 additions and 135 deletions
+2
View File
@@ -527,6 +527,8 @@ CREATE TABLE `PREFIX_date_range` (
CREATE TABLE `PREFIX_delivery` (
`id_delivery` int(10) unsigned NOT NULL auto_increment,
`id_shop` INT UNSIGNED NULL DEFAULT NULL,
`id_group_shop` INT UNSIGNED NULL DEFAULT NULL;
`id_carrier` int(10) unsigned NOT NULL,
`id_range_price` int(10) unsigned default NULL,
`id_range_weight` int(10) unsigned default NULL,
+1
View File
@@ -319,5 +319,6 @@ PRIMARY KEY (`id_discount`, `id_shop`),
) ENGINE=ENGINE_TYPE DEFAULT CHARSET=utf8;
INSERT INTO `PREFIX_discount_shop` (id_shop, id_discount) (SELECT 1, id_discount FROM PREFIX_discount);
ALTER TABLE `PREFIX_delivery` ADD `id_shop` INT UNSIGNED NULL DEFAULT NULL AFTER `id_delivery`, ADD `id_group_shop` INT UNSIGNED NULL DEFAULT NULL AFTER `id_shop`;
/* PHP:create_multistore(); */