Marketing

Shopify breadcrumbs: why they break and how to fix them

Why Shopify breadcrumbs change with the visitor’s path and stop at one level, and how to build fixed multi-level breadcrumbs with BreadcrumbList schema.

·6 min read·By the ROASaurus team

Key takeaways
  • Most Shopify themes build breadcrumbs from the path a visitor took, so the same product shows a different trail, or none, depending on how someone arrived.
  • Shopify has no built-in collection hierarchy, so default breadcrumbs stop at one collection level.
  • The fix is a fixed path per product and collection, stored in a metafield, that the theme shows and the schema repeats.
  • BreadcrumbList structured data tells search engines and AI systems where a page sits in your catalogue; check it with Google’s Rich Results Test.

Breadcrumbs are the small trail above a product, such as Home › Bath › Vanity units › Product. They help shoppers move up a level, and they tell search engines and AI systems how your catalogue is organised. On Shopify they often do not work as they should: the trail changes with the visitor’s path, it stops at one collection, and the schema behind it does not always match. This guide explains why and how to fix it.

Why Shopify breadcrumbs do not work for multi-level stores

Default Shopify breadcrumbs follow a simple pattern: Home › Collection › Product. That works for a flat catalogue with one level of collections. Most stores have more: a department, a category and a product type. For example:

The trail a three-level catalogue needs
Home › Bath › Bathroom furniture › Vanity units › Oak vanity unit 80 cm

Shopify cannot build this by default, for two reasons.

Problem 1: breadcrumbs based on the visitor’s path

Many themes take the collection from the URL. When a shopper opens a product from a collection, the URL looks like /collections/vanity-units/products/oak-vanity and the breadcrumb shows that collection. Open the same product from “Best sellers” and the breadcrumb shows Best sellers. Arrive straight from Google or from your sitemap at /products/oak-vanity and there is no collection at all: the trail is just Home › Product.

Search engines mostly arrive the direct way. So the version Google reads is often the poorest one, and it can differ from visit to visit.

Problem 2: no collection hierarchy

Shopify collections are flat. A collection cannot have a parent collection, and a product can be in many collections without one being the main one. Your navigation menu can be nested, but it is built for browsing: the same collection often appears in several places, under “Sale”, “New” and its own department. Using the menu as the source of the breadcrumb therefore gives inconsistent trails.

Default breadcrumbs
  • Trail depends on how the visitor arrived
  • One collection level at most
  • Often missing on direct visits and for crawlers
  • Schema may show Home › Product only
Fixed hierarchical breadcrumbs
  • Same trail on every visit
  • As many levels as your catalogue needs
  • Visible to crawlers on the canonical URL
  • Schema matches the visible trail

How search engines and AI tools read your catalogue

Product structured data describes one item: what it is, what it costs and whether it is in stock. For broader searches, such as “oak vanity units” or “standing desks”, search engines and AI assistants also need to know which products belong to which category, and how categories relate to each other.

Without clear signals they guess from URLs, menus and surrounding text, or they treat your product and collection pages as unrelated pages. A consistent breadcrumb, visible on the page and repeated in BreadcrumbList structured data, states the hierarchy outright.

What breadcrumb schema communicates

BreadcrumbList is a type from schema.org. It lists each level of the trail in order, with a name and a URL. For a product in a home office store it says: Electric standing desks is part of Standing desks, which is part of Desks, which is part of Home office.

  • Relevance across a category. A store that clearly shows depth in one product group signals organised, thorough coverage of that group.
  • Clearer search results. On desktop, Google can show the trail in the result instead of a long URL. Since January 2025 Google no longer shows breadcrumbs in mobile results, but the structured data is still read and supported.
  • Better context for AI answers. Assistants that read your pages can place a product in the right category instead of inferring it.

Structured data does not guarantee rankings or citations. It removes guesswork; the content still has to be good. See does schema markup help AI visibility? for what studies and the search engines themselves say.

How to build hierarchical breadcrumbs in Shopify

The reliable approach is to decide the trail once per product and per collection, store it, and let the theme read it. You can do this with a metafield and a few lines of theme code, or with an app that does the same.

  1. Draw your hierarchy

    Write down departments, categories and product types, two to three collection levels below Home for most stores. Each product gets one main path, even if it sits in several collections.

  2. Create a metafield definition

    In the Shopify admin settings, open the metafield definitions for products and add one such as custom.breadcrumb of type “List of collection references”. Add the same for collections if collection pages need a parent trail.

  3. Fill in the path

    On each product, pick the collections in order: department, then category, then product type. Use bulk editing or a CSV import for large catalogues.

  4. Show the trail in the theme

    Add a breadcrumb snippet to the product and collection templates that reads the metafield, so the trail is the same however the visitor arrived.

  5. Output matching schema

    Generate BreadcrumbList JSON-LD from the same metafield, so what Google reads matches what visitors see. Remove any older breadcrumb schema the theme or an app adds, so there is only one.

  6. Test

    Paste a product URL into Google’s Rich Results Test. BreadcrumbList should show without errors, with the levels in the right order.

A sketch of the theme code, for a developer to adapt to your theme:

Liquid: breadcrumb and BreadcrumbList from a metafield (sketch)
{%- assign trail = product.metafields.custom.breadcrumb.value -%}
<nav aria-label="Breadcrumb"><ol class="breadcrumbs">
  <li><a href="{{ routes.root_url }}">Home</a></li>
  {%- for c in trail -%}<li><a href="{{ c.url }}">{{ c.title }}</a></li>{%- endfor -%}
  <li aria-current="page">{{ product.title }}</li>
</ol></nav>
<script type="application/ld+json">
{"@context": "https://schema.org", "@type": "BreadcrumbList", "itemListElement": [
  {"@type": "ListItem", "position": 1, "name": "Home", "item": "{{ shop.url }}"}
  {%- for c in trail -%},
  {"@type": "ListItem", "position": {{ forloop.index | plus: 1 }}, "name": {{ c.title | json }}, "item": "{{ shop.url }}{{ c.url }}"}
  {%- endfor -%},
  {"@type": "ListItem", "position": {{ trail.size | plus: 2 }}, "name": {{ product.title | json }}}
]}
</script>

Options compared

OptionLevelsSame trail every visitEffort
Theme defaultOneNoNone
Built from the main menuUp to menu depthMostlyDeveloper, once
Metafield path + snippetAnyYesDeveloper once, then per product
Breadcrumb appAnyYesApp setup, often a monthly fee
Ways to get hierarchical breadcrumbs on Shopify.

Whichever you choose, keep the data in your store (metafields) rather than only inside an app, so the breadcrumbs survive if you change apps or themes.

What ROASaurus does and does not do here

ROASaurus does not edit your theme or add structured data to your store. It reads Google Search Console under Website › Search, where you can watch clicks and impressions for your collection and product pages before and after a breadcrumb change. For a full checklist of the other technical work, see Shopify SEO step by step. Before a busy season, the Black Friday tracking checklist covers the tracking side of your store.

Next step

Sources

  1. Google Search Central: Breadcrumb (BreadcrumbList) structured data
  2. Google Search Central blog: Simplifying the visible URL element on mobile search results
  3. Schema.org: BreadcrumbList
  4. Shopify developer docs: Metafields

In ROASaurus

Keep reading

MarketingBFCM tracking checklist: can you trust your ad results?A Black Friday tracking checklist: test a real purchase, find duplicate conversions, choose which orders count, check consent and judge ads on profit.AIDoes schema markup help AI visibility? What we knowWhat Microsoft, Bing and Google say about structured data and AI answers, what studies found, which schema a store needs and how to check it.MarketingShopify SEO: a step-by-step guideShopify SEO step by step: what Shopify already does for you, the technical checks, on-page work for products and collections, links, and how to measure it.

FAQ

Questions, answered

More answers in the FAQ and the help center.

Why do my Shopify breadcrumbs change?

Most themes take the collection from the URL the visitor used. Opening a product from different collections, or directly from Google, gives a different trail or no collection at all.

Does Shopify support multi-level breadcrumbs?

Not by default. Collections have no parent, so default breadcrumbs show one collection at most. Store a fixed path per product in a metafield and show it with a theme snippet, or use an app.

Do breadcrumbs still matter for SEO?

Yes. Google still reads BreadcrumbList structured data and shows breadcrumbs in desktop results. Since January 2025 they no longer appear in mobile results, but they still describe your catalogue to search engines and AI systems.

How do I check my breadcrumb schema?

Paste a product URL into Google’s Rich Results Test or the Schema Markup Validator. BreadcrumbList should appear without errors and list the levels in the order shown on the page.

Can breadcrumbs come from my navigation menu?

They can, but menus often list the same collection under several parents, so trails become inconsistent. A dedicated field per product is more reliable.

Every sale, traced to the ad that earned it

Server-side tracking, profit and lifetime value in one app. Free plan, no credit card.