braincord Posted March 10, 2015 Share Posted March 10, 2015 (edited) Господа, помогите разобраться: как вывести модуль категории товара на странице с товаром в дефолтном шаблоне на Prestashop 1.6.0.11? Мои действия: я перещел в модули->расположение блоковвыбрал нужный блок -> "Блок категорий" ставлю крыжик и нажимаю "Расположить модуль"Выбираю нужный хук DisplayLeftColumProduct(New element on the product page(left column)) -> нажимаю сохранить, а модуль в карточке товара так и не появился.Пробовал с хуком DisplayLeftColumProduct(New element on the product page(left column)) - тоже самое, появляется сообщение: "Модуль не может быть трансплантирован в хук."Что делать в подобной ситуации? help me to understand: how to display the module category of the product on the product page in the default template for Prestashop 1.6.0.11? My actions: I PAREXEL in modules->location blocksselect the desired unit - > Unit categories" put a hyphen and press the "Positioning moduleChoose the hook DisplayLeftColumProduct(New element on the product page(left column)) -> click save, and the module in the item card and have not appeared.Tried to hook DisplayLeftColumProduct(New element on the product page(left column) - the same error message: "the Module cannot be transplanted into the hook."What to do in this situation? Edited March 11, 2015 by braincord (see edit history) Link to comment Share on other sites More sharing options...
braincord Posted March 12, 2015 Author Share Posted March 12, 2015 Решил проблему следующим скриптом: DROP TABLE IF EXISTS `ps_theme_meta`; CREATE TABLE IF NOT EXISTS `ps_theme_meta` ( `id_theme_meta` int(11) NOT NULL AUTO_INCREMENT, `id_theme` int(11) NOT NULL, `id_meta` int(10) unsigned NOT NULL, `left_column` tinyint(1) NOT NULL DEFAULT '1', `right_column` tinyint(1) NOT NULL DEFAULT '1', PRIMARY KEY (`id_theme_meta`), UNIQUE KEY `id_theme_2` (`id_theme`,`id_meta`), KEY `id_theme` (`id_theme`), KEY `id_meta` (`id_meta`) ) ENGINE=InnoDB AUTO_INCREMENT=35 DEFAULT CHARSET=utf8; DELETE FROM `ps_theme_meta`; INSERT INTO `ps_theme_meta` (`id_theme_meta`, `id_theme`, `id_meta`, `left_column`, `right_column`) VALUES (1, 1, 1, 0, 0), (2, 1, 2, 1, 0), (3, 1, 3, 0, 0), (4, 1, 4, 1, 0), (5, 1, 5, 1, 0), (6, 1, 6, 1, 0), (7, 1, 7, 0, 0), (8, 1, 8, 1, 0), (9, 1, 9, 1, 0), (10, 1, 10, 0, 0), (11, 1, 11, 0, 0), (12, 1, 12, 0, 0), (13, 1, 13, 0, 0), (14, 1, 14, 0, 0), (15, 1, 15, 0, 0), (16, 1, 16, 0, 0), (17, 1, 17, 0, 0), (18, 1, 18, 0, 0), (19, 1, 19, 0, 0), (20, 1, 20, 0, 0), (21, 1, 21, 0, 0), (22, 1, 22, 1, 0), (23, 1, 23, 0, 0), (24, 1, 24, 0, 0), (25, 1, 25, 0, 0), (26, 1, 26, 0, 0), (27, 1, 28, 1, 1), (28, 1, 29, 0, 0), (29, 1, 27, 1, 1), (30, 1, 30, 0, 0), (31, 1, 31, 0, 0), (32, 1, 32, 0, 0), (33, 1, 33, 0, 0), (34, 1, 34, 0, 0); Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now