Shopify sections

Shopify breadcrumbs depend on the theme: how to add a trail that keeps the collection

Shopify breadcrumbs are not a Shopify feature: whether a store shows a trail like Home > Sale > Linen Shirt depends on the theme, and Dawn has none. To add one, write a Liquid snippet with BreadcrumbList markup or place an app block. The app block route here is Breadcrumb Bar, which goes into the theme editor through the block called Section Store. It builds the trail from the page itself: home, the collection a product was opened from and the current page title. Nested category paths are not part of it. Getting it means buying the section once or having the Enterprise plan.

  • Nothing is shown on the home page
  • Looks: Plain, Soft bar or Pills, with Chevron, Slash or Dot between links

Last checked:

Breadcrumb Bar section rendered by Section Store with its sample content
The preview renders a sample trail with the default settings: Plain look, Chevron separator and the current page as the last item, which is not a link.

When to use it

Add the section when products are opened from collections and the theme prints no trail

Use it when

  • The theme prints no trailDawn has no breadcrumbs, so a product page there carries no link back to the collection the shopper came from. Breadcrumb Bar is proposed as a block in the main product section, which puts the trail next to the product details.
  • Product pages should name their collectionOn an address like /collections/x/products/y the trail reads home, collection, product. For visits from search or a direct link, Products Opened Without a Collection decides between home and product only, the default, and an added “All products” link to the full catalog.
  • Markup should match the printed linksStructured Data for Search Engines is on by default and writes BreadcrumbList from exactly the links shown. In a hand-built trail the visible list and the JSON-LD are two pieces of code, and keeping them identical is your job on every edit.

Skip it when

  • The theme already prints a trailTwo trails on one page confuse shoppers, and two BreadcrumbList blocks give search engines conflicting data. Keep the theme's trail and adjust its snippet. Switch only after the theme's output is removed, its JSON-LD included.
  • You need nested category pathsShopify collections are flat, so the trail stops at home, collection, product. A path like Home > Women > Shoes > Sneakers needs custom Liquid that reads a parent collection from a metafield you maintain, or a menu hierarchy in the header.
  • Most visits come from adsAds usually link to /products/y, where the collection context is missing, so the trail shrinks to home and product. A related products block gives those visitors an onward path that a two-item trail does not.

In detail

The address decides the trail, the Path settings decide what happens without a collection

The trail holds the home link, the collection a product was opened from and the title of the current page as the last item, which is not a link. A blog post also links to its blog, and that link is named after the blog's web address, so a readable blog handle gives a readable trail. The builder preview shows a sample, not your shop. Judge the result on a live product, opened once from a collection page and once from search results.

The collection reaches the section as live data from the app block: the collection handle and the collection title. A product reached through search or a direct link has no collection in its address, which makes Products Opened Without a Collection the setting that covers most of those visits. Show the Current Page, on by default, can be switched off to leave only the links that lead back. Switch off Structured Data for Search Engines if the theme or an SEO app already writes BreadcrumbList. Left at “Home”, Home Link Text follows the shopper's language; with the house icon, screen readers still read the link.

Long product names are where a trail breaks. Long Titles either wraps the trail onto a new line or keeps it on one line and shortens titles with “…”, while screen readers still read the full title. Longest Link (Characters) sets the cut from 12 to 60 characters, 32 by default, and the current page takes the room that is left. On Phones can swap the whole path for a back link: an arrow with the name of the page one step up.

With default settings the trail weighs 14.9 KB, and 9.1 KB of that is JavaScript against 4 KB of CSS. The generated code contains no Liquid tags. The layout has breakpoints at 749 and 989 px and honours prefers-reduced-motion.

Builder settings

Every builder setting of Breadcrumb Bar

Set Products Opened Without a Collection first, because search and direct links land on product addresses without a collection. If product names run long, decide Long Titles and On Phones next. The 18 settings in the groups Path, Layout, Style and Spacing are edited in the app builder; in the theme editor the app block has six settings: the section picker, padding top, padding bottom, max width, hide on mobile and hide on desktop.

Path5
Home Link
Choice: Text, House icon
DefaultText
Home Link TextLeft at “Home”, it follows the shopper’s language. With the icon, screen readers read it.
Text
DefaultHome
Show the Current PageThe last item, not a link. Off: only the links that lead back.
On / off
DefaultOn
Products Opened Without a CollectionA product reached through search or a direct link has no collection in its address. “All products” links to your shop’s full catalog.
Choice: Home and product, Add “All products”
DefaultHome and product
Structured Data for Search Engines
On / off
DefaultOn
Layout7
Look
Choice: Plain, Soft bar, Pills
DefaultPlain
Separator
Choice: Chevron, Slash, Dot
DefaultChevron
Text Size
Choice: Small, Medium, Large
DefaultMedium
Alignment
Choice: Left, Center
DefaultLeft
Long TitlesShortened titles end in “…”. Screen readers still read the full title.
Choice: Wrap to a new line, Shorten on one line
DefaultWrap to a new line
Longest Link (Characters)ConditionalLinks longer than this are shortened. The current page takes the room that is left.
Slider, 12–60
Default32
On PhonesThe back link is an arrow with the name of the page one step up.
Choice: Whole path, Back link only
DefaultWhole path
Style4
Section BackgroundUntil you choose a color: the theme background
Colour
DefaultNot set
Text ColorUntil you choose a color: the theme text color, or one that stays readable on your background
Colour
DefaultNot set
Bar and Pill ColorConditionalUntil you choose a color: a soft tint that works on light and dark themes
Colour
DefaultNot set
Corner RadiusConditional
Slider, 0–24 px
Default10 px
Spacing2
Max Width
Slider, 600–1800 px
Default1200 px
Section Spacing
Spacing per device
DefaultTop padding 12 / 10 / 8 px

18 settings in 4 groups. These are settings in the Section Store builder, not theme editor settings: read from the app's section configuration, as of 2 Dec 2026. "Conditional" settings appear only once a related setting turns them on.

Two ways

Write a Liquid snippet yourself or place Breadcrumb Bar through the app block

Both routes end in a home, collection, page trail. They differ in who keeps the printed links and the JSON-LD aligned when the theme or its product cards change.

Way 1

By hand in theme code

This outline is untested and is not a finished listing. It touches several theme files and needs a recheck after every theme update.

  1. On a duplicate of the live theme, create a breadcrumb snippet: a nav element labelled Breadcrumb for screen readers around an ordered list, with the home link as the first item.
  2. Add the collection link as the second item, inside a check that the collection object exists; it only exists on addresses like /collections/x/products/y.
  3. On collection pages the collection is the current page, so print it once as plain text instead of as a link.
  4. End with the current title as plain text: the product, article or page title.
  5. Output BreadcrumbList JSON-LD that lists the same items in the same order, with absolute URLs.
  6. Check how the theme's product cards link: if they open /products/y, change them to keep the collection in the address, or the second item never appears.
  7. Render the snippet on product, collection and article templates, skip the home page, and test a product opened from a collection, from search and from a direct link.

Choose this if: You edit Liquid, the theme has a breadcrumb snippet to adjust, or you need a parent collection or a fixed primary collection from a metafield. The hard parts are the card links, the collection page branch and keeping the JSON-LD identical to the printed items.

Way 2

With the Section Store app block

Nothing is edited in theme files. The theme must be Online Store 2.0, since the trail arrives as an app block. Breadcrumb Bar is bought once as a single section or comes with Enterprise.

  1. Build the trail in the app builder, then add the Section Store app block in the theme editor and pick Breadcrumb Bar in its picker; the documentation covers the clicks.
  2. Decide Products Opened Without a Collection first, then Long Titles and On Phones, and save.
  3. Open a product from a collection page and read the address bar: the collection can only show in the trail if the address contains it. Remove any trail the theme already prints.

Choose this if: The theme has no trail, a home, collection, page path is enough, and you want BreadcrumbList written from the links shown without owning that code. Code it yourself when you need parent collections or want the trail inside theme files you control.

FAQ

Breadcrumb questions merchants ask about their own store

Breadcrumb Bar is in Section Store.

Set it up in the app builder and place it through the Section Store app block. No theme code.

Install on Shopify

Sources

Sources