// Fix on shops + remove id_group_shop from stock + fix stock

This commit is contained in:
rMalie
2011-08-11 09:38:24 +00:00
parent 9886cabbfc
commit 59c4f5489d
16 changed files with 110 additions and 109 deletions

View File

@@ -1127,34 +1127,34 @@ INSERT INTO `PREFIX_store` (`id_store`, `id_country`, `id_state`, `name`, `addre
INSERT INTO `PREFIX_store_shop` (`id_store`, `id_shop`) (SELECT `id_store`, 1 FROM `PREFIX_store`);
INSERT INTO `PREFIX_stock` (`id_stock`, `id_product`, `id_product_attribute`, `id_group_shop`, `id_shop`, `quantity`) VALUES
(1, 1, 25, 1, 1, 150),
(2, 1, 26, 1, 1, 120),
(3, 1, 27, 1, 1, 230),
(4, 1, 28, 1, 1, 150),
(5, 1, 29, 1, 1, 120),
(6, 1, 30, 1, 1, 230),
(7, 1, 31, 1, 1, 150),
(8, 1, 32, 1, 1, 120),
(9, 1, 33, 1, 1, 230),
(10, 1, 34, 1, 1, 150),
(11, 1, 35, 1, 1, 120),
(12, 1, 36, 1, 1, 230),
(13, 1, 39, 1, 1, 150),
(14, 1, 40, 1, 1, 120),
(15, 1, 41, 1, 1, 230),
(16, 1, 42, 1, 1, 150),
(17, 2, 7, 1, 1, 120),
(18, 2, 8, 1, 1, 230),
(19, 2, 9, 1, 1, 150),
(20, 2, 10, 1, 1, 120),
(21, 5, 12, 1, 1, 230),
(22, 5, 13, 1, 1, 150),
(23, 5, 14, 1, 1, 120),
(24, 5, 15, 1, 1, 230),
(25, 6, 0, 1, 1, 230),
(26, 7, 19, 1, 1, 150),
(27, 7, 22, 1, 1, 120),
(28, 7, 23, 1, 1, 230),
(29, 8, 0, 1, 1, 230),
(30, 9, 0, 1, 1, 150);
INSERT INTO `PREFIX_stock` (`id_stock`, `id_product`, `id_product_attribute`, `id_shop`, `quantity`) VALUES
(1, 1, 25, 1, 150),
(2, 1, 26, 1, 120),
(3, 1, 27, 1, 230),
(4, 1, 28, 1, 150),
(5, 1, 29, 1, 120),
(6, 1, 30, 1, 230),
(7, 1, 31, 1, 150),
(8, 1, 31, 1, 120),
(9, 1, 33, 1, 230),
(10, 1, 34, 1, 150),
(11, 1, 35, 1, 120),
(12, 1, 36, 1, 230),
(13, 1, 39, 1, 150),
(14, 1, 40, 1, 120),
(15, 1, 41, 1, 230),
(16, 1, 42, 1, 150),
(17, 2, 7, 1, 120),
(18, 2, 8, 1, 230),
(19, 2, 9, 1, 150),
(20, 2, 10, 1, 120),
(21, 5, 12, 1, 230),
(22, 5, 13, 1, 150),
(23, 5, 14, 1, 120),
(24, 5, 15, 1, 230),
(25, 6, 0, 1, 230),
(26, 7, 19, 1, 150),
(27, 7, 22, 1, 120),
(28, 7, 23, 1, 230),
(29, 8, 0, 1, 230),
(30, 9, 0, 1, 150);