Add Back Links to Product Pages

Topic summary

A user seeks help adding breadcrumb navigation links above product images on their Shopify store using the Dawn theme.

Proposed Solution:

  • Create a new snippet file named breadcrumb.liquid in the theme code editor
  • Paste provided breadcrumb code into this file
  • Insert {% include 'breadcrumb' %} after the <body> tag in the main theme.liquid file

Current Status:
The user requests clarification on the final implementation step—specifically whether to add only the include statement or the entire code block to the theme.liquid file. The discussion remains open pending this technical clarification about proper code placement.

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

Hello! I was wondering if someone can help me add back links like these to my product pages?

have them above the product image on the left.
Thank you!
For the Dawn theme.

Hello @idaya
I would like to give you the recommendation to support you so kindly follow steps below:

  1. Go to your Online store > Themes > Edit code

  2. Create a new snippet file, name is: breadcrumb.liquid and paste the code

{% comment %}
  Documentation - http://docs.shopify.com/support/your-website/navigation/creating-a-breadcrumb-navigation
{% endcomment %}
{% unless request.page_type == 'index' or request.page_type == 'cart' %}

{% endunless %}
  1. Open your theme.liquid file, add the code after : {%include ‘breadcrumb’%}

I hope the above is useful to you.
Best regards,
GemPages Support Team

@GemPages So after I have created the new breadcrumb.liquid and add that code, I just add {%include ‘breadcrumb’%} on the theme.liquid file? or the entire code?

Thank you!