Showing the product path on product page - Dawn theme

Topic summary

A user is attempting to add breadcrumb navigation to product pages in their Shopify store using the Dawn theme, allowing customers to easily navigate back to collections.

Current Issue:

  • Created a breadcrumbs.liquid snippet with code for displaying navigation paths
  • Unsure how to integrate this snippet into the Dawn theme
  • Previous advice from other posts hasn’t resolved the problem

Code Status:
The provided breadcrumbs.liquid code includes logic for different page types (product, blog, collection, article) with conditional display of navigation paths. However, portions of the code appear corrupted or reversed in the original post.

Response:
Another user suggested following a tutorial (YouTube link provided) to implement the breadcrumb functionality.

Current State:
The discussion remains open with the user awaiting further guidance on proper implementation of the breadcrumb snippet into their Dawn theme.

Summarized with AI on November 12. AI used: claude-sonnet-4-5-20250929.

Hi All,

I’m building my Shopify store using the Dawn theme & I can’t seem to get the product path to show on the product page so that customers can easily navigate back to the collection. I have followed advice from other posts but can’t seem to get it working on my store. I have added the breadcrumbs snippet, but not sure how to get this snippet into to my theme.

Any help would be appreciated!

Code so far - breadcrumbs.liquid

{% unless template == ‘index’ or template == ‘cart’ or template == ‘list-collections’ %}

Home

{% if template contains ‘page’ %}

{{ page.title }}

{% elsif template contains ‘product’ %}

{% if collection.url %}

{{ collection.title | link_to: collection.url }}

{% endif %}

{{ product.title }}

{% elsif template contains ‘collection’ and collection.handle %}

{% if current_tags %}

{% capture url %}/collections/{{ collection.handle }}{% endcapture %}

{{ collection.title | link_to: url }}

{{ current_tags | join: " + " }}

{% else %}

{{ collection.title }}

{% endif %}

{% elsif template == ‘blog’ %}

{% if current_tags %}

{{ blog.title | link_to: blog.url }}

{{ current_tags | join: " + " }}

{% else %}

{{ blog.title }}

{% endif %}

{% elsif template == ‘article’ %}

{{ blog.title | link_to: blog.url }}

{{ article.title }}

{% else %}

{{ page_title }}

{% endif %}

{% endunless %}

You may follow this tutorial.