on 11-02-2016 1:37 PM
I have a product in two categories. When I drill down the facets to the sub-category page and then click on the product to go to the PDP, the breadcrumb that is displayed is for the other category.
Can anyone point me in the right direction on how to make it work correctly for both categories?
The bread crumb will always show the first category that is listed against the product. It doesn't matter what navigation path you use to get to the product page.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
It's not a Solr restriction, as Solr will return whatever values you feed it through the value provider. The restriction, to the extent I have experimented with, comes from the fact that the OOB bread crumb in Hybris is a page bread crumb and not a navigation bread crumb. So, the PDP goes back to the product catalogue, checks the primary category hierarchy (first category that product belongs to, preceeded by the first parent category that category belongs to and so on) and displays that in the bread crumb.
User | Count |
---|---|
5 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.