Search the Community
Showing results for tags 'categories;'.
-
Hello everybody! I am new to Prestashop, and I must admit that I know very little about PHP. I was asked to add a table on a product page in the subcategory. The categories are divided as follows: Home / Products / Boxes / Boxes model. Now, I was able to add the table in the desired position by working in the Category.tpl file, but the problem that I encounter, and that I cannot solve, is that in addition to putting the table in the last subcategories, it also displays it in the sub-categories previous categories. My request is: could someone help me in making sure that the table is displayed only in the last subcategory ??? I assume I have to do a condition with a foreach in the Category.php file, but besides not understanding how to do it, I'm not sure it's the right solution. Thanks in advance for those who will answer. PrestaShop Version: 1.7.7.5 PHP Version: 7.4.21
- 6 replies
-
- tables
- categories;
-
(and 1 more)
Tagged with:
-
Hello, I have a problem to add product categories. I can only add subcategories under the root/home category. Other addings do not have the place where to choose the upper / parent category. I have multistore; into the default store I have migrated the products & categories from old shop, 1.4.xx. The categories are visible in BO but products can´t be connected to them. Into the 2nd shop I have created the categories and products as new items. And can add only subcategories under the root category. Have removed all demo categories when migrated the old shop.