Add "Shop all: Collection link" and Breadcrumbs navigation above my product page

Hello everyone, I am using Shopify Refresh theme and I have 2 requests:

  1. I wanted to add a text and link for the related collection above all products. Also, given that each product might be included in many collections how to decide that I need to show the Vendor type collections to be shown in this section. Ideally the text to be: Shop all:

  2. I need to add above this section a Breadcrumbs navigation to state, Home / Collection (with link) / product name, how to add this? I found a few solutions by adding a snippet but unfortunately it is only showing Home / , but I need to show: Home / Collection / Product.

My website is: [www.alorabrands.com](http://www.alorabrands.com)

Password: alorarawzaba

Thank you,

Hello @Rawzaba

Hello [email removed]
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. Open your breadcrumb.liquid file

  3. Replace the old code with the below code:

{% unless request.page_type == 'index' or request.page_type == 'cart' %}

{% endunless %}

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

Thank you for your reply. Unfortunately, it is still not working.

It is showing: Home > Product, and not a detailed path: Home > Collection > Product

Hi @Rawzaba

Please follow these steps:

  • Step 1: Find and open the file main-product.liquid

  • Step 2: Press Ctrl + F, paste this line in the search bar and then click Next:

class="product product--
  • Step 3: Add this code above the line you just found, like the image below:


Home / {{product.vendor | link_to_vendor}} / {{ product.title }}

  • Step 4: Press Ctrl + F, paste this line in the search bar and then click Next:
class="product__text
  • Step 5: Replace this code {{- block.settings.text -}} with the code we sent, like the image below:

Shop all: {{ block.settings.text | link_to_vendor }}
  • Step 6: Save your code.

  • Here is the result displayed at Product Page:

We hope that it will work for you.

1 Like

That was very helpful and it worked just as described. Thank you very much @BSS-Commerce

1 Like