// Carrier range price / weight for multishop + fix duplicate of carrier_lang when a new shop is created
This commit is contained in:
@@ -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,
|
||||
|
||||
@@ -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(); */
|
||||
|
||||
Reference in New Issue
Block a user