Hello, I’m using the Brooklyn theme and I just implemented breadcrumbs in my code as the shopify tutorial shows it. But the problem is that on my page it shows Home>Product but the product is in a collection and I would like that the specific collection shows in the breadcrumbs like Home>Collection1>Product1.
you’re talking about the scenario, where you’re on a product detail page, correct? Have you seen this implemented before?
The main issue with this logic is, that Shopify cannot really provide a 1:1 collection-context on the products detail page. The reason is, that a product could be listed in 0…n different collections. How would the breadcrumbs know, which one to display in the breadcrumb-list?
Sure I got the problem of which collection the breadcrumbs must choose, but is there a way I could define the specific collection for it? How others websites like walmart on the photo or many ohers have done it?
Alright – let me rephrase that …Have you seen this implemented in Shopify before? XD
Of course this breadcrumb logic can be implemented, if there is a hierarchical context for the taxonomy available on the product page. I don’t see how this could be done reliably in Shopify.
@Zebgoo i was referring to native Shopify – of course one could implement their own logic, where you manually set the “main” collection for each product (for instance as a meta field).
That would be one way to go about it, however, the OP was talking about the collection context – that doesn’t necessarily go along the lines of how the navigation is configured …