2grosiek7 Posted August 28, 2016 Share Posted August 28, 2016 Hello, I'd like to know, how works the algorithm of getting breadcrumb on the product page. I have product in many categories and breadcrumb shows random cateogory. How to do, that the breadcrumb will showing the deepest category of product? Link to comment Share on other sites More sharing options...
Prestachamps Posted August 28, 2016 Share Posted August 28, 2016 Hi, the breadcrumb displays the path or the categories where you clicked the product, so if the product is assigned to multiple categories, then it will have different breadcrumb paths, depending on the category where you have clicked it. If you have correctly defined the default category of the product to be the deepest assigned category, then you could modify the breadcrumb of the product to have the default category's path in the breadcrumb. This can be done by modifying or overriding the productController. (this could depend on your prestashop version). For an older version check this link : https://www.prestashop.com/forums/topic/167513-how-to-show-the-full-breadcrumb-to-the-default-category-on-every-product-page/ Regards, Leo 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