Select Page

Change all PrestaShop products to show price

Using this command you can easily set all products to show the price. UPDATE `ps_product` SET show_price =1 WHERE show_price =0 UPDATE `ps_product_shop` SET show_price =1 WHERE show_price =0

Add category ID as a class to the body tag in Prestashop

Within CategoryController.php’s initContent() function find “$this->context->smarty->assign(array(” and add a new line: 'parent_category_chain' => $this->category->getParentsCategories(), In your header.tpl you can use a foreach...