---
title: "Insert breadcrumb navigation to your store"
slug: "insert-breadcrumb-navigation-to-your-store"
url: "https://avada.io/blog/insert-breadcrumb-navigation-to-your-store/"
kind: "post"
author: "Sam Nguyen"
author_url: "https://avada.io/authors/sam/"
published_at: "2019-03-20T00:00:00+07:00"
updated_at: "2026-02-10T15:01:02+07:00"
description: "Enhance your Shopify store's navigation by learning how to insert breadcrumb navigation, providing a clear path for users to trace their steps and find relevant content."
categories: ["Shopify Guides"]
---

# Insert breadcrumb navigation to your store

Breadcrumb navigation helps improve user experience and boosts your store’s SEO. It may seem tricky to set up, but it’s important for guiding customers through your site and letting them easily return to previous pages. This guide will show you how to add breadcrumb navigation to your Shopify store with clear, step-by-step instructions to solve common problems

Free 1:1 Shopify consultation & 30-day all-app trial **FREE**

- Shopify Plus Strategy and Consultation
- Personalized E-commerce Solutions
- Conversion Rate Boosting Techniques
- Inventory Management Hacks

[Consult with us now!](https://www.mageplaza.com/services/shopify-development-services/?utm_source=avada_devdocs&utm_medium=banner&utm_campaign=Service-shopify#contact-us)

![](https://cdn2.avada.io/media/resources/newwomen.webp)

## How to insert breadcrumb navigation to your store

- [What is Breadcrumb Navigation?](#what-is-breadcrumb-navigation)
- [How to insert breadcrumb navigation to your store](#how-to-insert-breadcrumb-navigation-to-your-store)

## What is Breadcrumb Navigation?

To go more into details, we would like to give you more information about Breadcrumb Navigation.

To be clear, Breadcrumb Navigation is a list of links that can tell not only what page they are currently on for your [customers](https://avada.io/blog/how-to-add-customers-shopify) but also all the pages that are above that page in the store’s content.

The breadcrumb navigation will look similar to this:

![n](https://cdn4.avada.io/media/shopify/HYDojJh.png)

Please kindly note that you are allowed to add breadcrumb navigation to your store easily with a Liquid snippet. This snippet will produce a list of links that can display the where your users are in your website (like \*\*Home > Categories > Cupcake).

## How to insert breadcrumb navigation to your store

### Step 1:

Go to **Online Store > Themes** from your Shopify Admin panel.

### Step 2:

Choose the theme that you need to adjust and click **Actions > Edit code**.

![How to insert breadcrumb navigation to your store in shopify](https://cdn1.avada.io/docs/cart/edit-code.png)

### Step 3:

Generate a brand-new snippet for the breadcrumbs code:

- Tap the **Snippets** folder, then tap **Add a new snippet**.
- Name the snippet `breadcrumbs`. Be certain that the name is completely note capitalized otherwise your theme will be unable to find the new file.
- Tap **Create snippet**.

![How to insert breadcrumb navigation to your store in shopify](https://cdn1.avada.io/docs/cart/breadcrumbs.png)

### Step 4:

Copy the Liquid code given below and paste it into the code editor for the `breadcrumbs.liquid` snippet:

```
{% unless template == 'index' or template == 'cart' or template == 'list-collections' %}
<nav role="navigation" aria-label="breadcrumbs">
  <a href="/" title="Home">Home</a>
  {% if template contains 'page' %}
    <span aria-hidden="true">›</span>
    <span>{{ page.title }}</span>
  {% elsif template contains 'product' %}
    {% if collection.url %}
      <span aria-hidden="true">›</span>
      {{ collection.title | link_to: collection.url }}
    {% endif %}
    <span aria-hidden="true">›</span>
    <span>{{ product.title }}</span>
  {% elsif template contains 'collection' and collection.handle %}
    <span aria-hidden="true">›</span>
    {% if current_tags %}
      {% capture url %}/collections/{{ collection.handle }}{% endcapture %}
      {{ collection.title | link_to: url }}
      <span aria-hidden="true">›</span>
      <span>{{ current_tags | join: " + " }}</span>
    {% else %}
      <span>{{ collection.title }}</span>
    {% endif %}
  {% elsif template == 'blog' %}
    <span aria-hidden="true">›</span>
    {% if current_tags %}
      {{ blog.title | link_to: blog.url }}
      <span aria-hidden="true">›</span>
      <span>{{ current_tags | join: " + " }}</span>
    {% else %}
    <span>{{ blog.title }}</span>
    {% endif %}
  {% elsif template == 'article' %}
    <span aria-hidden="true">›</span>
    {{ blog.title | link_to: blog.url }}
    <span aria-hidden="true">›</span>
    <span>{{ article.title }}</span>
  {% else %}
   <span aria-hidden="true">›</span>
   <span>{{ page_title }}</span>
  {% endif %}
</nav>
{% endunless %}
```

### Step 5:

Choose **Save** to get your changes confirmed and applied to `breadcrumbs.liquid`.

### Step 6:

Tap `theme.liquid` to open it in the code editor.

### Step 7:

Paste the code given below in `theme.liquid` wherever you want your breadcrumbs to be displayed:

```
{% include 'breadcrumbs' %}
```

### Step 8:

Tap **Save** to save all of your changes to `theme.liquid`.

If you feel comfortable to use Liquid, you can customize the breadcrumbs’ snippet to configure what it displays or to use various separator characters for the links.

## Conclusion

Inserting breadcrumb navigation into your Shopify store is a crucial step in improving user experience and site navigation. By following the step-by-step process outlined – from creating a new snippet to customizing the Liquid code and integrating it into your theme – you can easily implement this powerful feature. Breadcrumbs not only help customers understand their location within your site but also enhance SEO and potentially reduce bounce rates. Remember, while the provided code offers a solid foundation, you can further customize the breadcrumbs to match your store’s unique needs. By implementing breadcrumb navigation, you’re taking a significant step towards creating a more user-friendly and efficient online shopping experience, which can ultimately lead to increased customer satisfaction and sales.
