Monthly Archives: August 2018

Prestashop 1.6: Breadcrumb to display the category that product is currently in (not its default category)

Update 20190608: Due to SEO concern, the friendly url of product is configured to not show subcategories, i.e. domain.com/product-name-1234.html so the following solution does not work as it uses the subcategories in the friendly url as reference Source: https://www.prestashop.com/forums/topic/167513-how-to-show-the-full-breadcrumb-to-the-default-category-on-every-product-page/?do=findComment&comment=2684341 FunctionĀ  … Continue reading

Posted in ecommerce | Tagged , | Comments Off on Prestashop 1.6: Breadcrumb to display the category that product is currently in (not its default category)

Prestashop: Fix pagination error on Attributes and Features in Backoffice

https://github.com/PrestaShop/PrestaShop/pull/8638/files https://www.prestashop.com/forums/topic/554037-possible-bug-on-product-attributes-list-pagination-in-1616/ https://www.prestashop.com/forums/topic/507337-backoffice-pagination-error-in-products-attribute-section/ Hi, i fixed this by adding a short code to ‘AdminAttributesGroupsController.php’ in /controllers/admin/ public function setRedirectAfter($url) { $addUrl = ”; if(Tools::isSubmit(‘viewattribute_group’) && Tools::getValue(‘id_attribute_group’)) { $addUrl = ‘&viewattribute_group&id_attribute_group=’ . Tools::getValue(‘id_attribute_group’); } $this->redirect_after = $url . $addUrl; } Function … Continue reading

Posted in troubleshoot | Tagged , | Comments Off on Prestashop: Fix pagination error on Attributes and Features in Backoffice