Shopify themes, liquid, logos, and UX
How to have Breadcrumbs activated in dawn theme store
Solved! Go to the solution
This is an accepted solution.
Hi @ashishsharma178
I think, its not in Dawn theme by default but
You can use this code: https://shopify.github.io/liquid-code-examples/example/breadcrumb-navigation
To implement it and add it at relevant place
Thanks!
This is an accepted solution.
Hi @ashishsharma178
I think, its not in Dawn theme by default but
You can use this code: https://shopify.github.io/liquid-code-examples/example/breadcrumb-navigation
To implement it and add it at relevant place
Thanks!
Thanks @Anonymous for your response. Its working fine however I need few clarifications.
1) My subsection is not appearing in the breadcrumb as shown below. It should show as Home>Drinkware>Mug5 but it is appearing as Home>Mug5
2) I need to reduce the extra space appearing below the breadcrumb as highlighted in yellow.
@ashishsharma178
Collection name will show if you come to product via collecton with collection link, Add within: collection on product cards if you have not already added that and to reduce extra space, it may be some margin or padding, you can adjust that with some CSS
Product url with collection will be like this
yourstore/collections/collection-handle/products/product-handle
Thanks!
@pawankumar - I have already added the products in the collection named as drinkware but still the collection name is not appearing in the breadcrumbs.
It's not about adding products in collection, it's about editing your product cards on collection pages and add within: collection filter in product.url. You can find it on Shopify docs as well to make it easy for you. It will require knowledge of liquid code to implement it
You have to replace
{{product.url}}
To
{{ product.url | within: collection }}
Product object be card_product or similar in your case
Thanks!
Already did the same but its not working so asking if someone can adapt the code.
Please change product.url to card_product.url
We will find 2 to 3 occurences of it, Please replace each of them
I think, it should work
Thanks!
Please change product.url to card_product.url
I changed to card_product.url across the code however still the same issue.
Hey Community! As the holiday season unfolds, we want to extend heartfelt thanks to a...
By JasonH Dec 6, 2024Dropshipping, a high-growth, $226 billion-dollar industry, remains a highly dynamic bus...
By JasonH Nov 27, 2024Hey Community! It’s time to share some appreciation and celebrate what we have accomplis...
By JasonH Nov 14, 2024