[+] Project : Add specific prices to a specific customer

This commit is contained in:
jBreux committed 2011-12-19 15:31:18 +00:00
1 parent 41450edc44
commit b71a30190c
7 files changed
+182 -22

No files matched your search

+2 -1
View File
@@ -1588,6 +1588,7 @@ CREATE TABLE `PREFIX_specific_price` (
`id_currency` INT UNSIGNED NOT NULL,
`id_country` INT UNSIGNED NOT NULL,
`id_group` INT UNSIGNED NOT NULL,
`id_customer` INT UNSIGNED NOT NULL,
`id_product_attribute` INT UNSIGNED NOT NULL,
`price` DECIMAL(20, 6) NOT NULL,
`from_quantity` mediumint(8) UNSIGNED NOT NULL,
@@ -1596,7 +1597,7 @@ CREATE TABLE `PREFIX_specific_price` (
`from` DATETIME NOT NULL,
`to` DATETIME NOT NULL,
PRIMARY KEY(`id_specific_price`),
KEY (`id_product`, `id_shop`, `id_currency`, `id_country`, `id_group`, `from_quantity`, `from`, `to`),
KEY (`id_product`, `id_shop`, `id_currency`, `id_country`, `id_group`, `id_customer`, `from_quantity`, `from`, `to`),
KEY (`id_specific_price_rule`)
) ENGINE=ENGINE_TYPE DEFAULT CHARSET=utf8;