Breadcrumbs

Breadcrumbs show customers where they are, such as Home › Phones › Pixa 9, and let them step back to a broader page in one click. They also help search engines understand your store.

Updated 2 min read

A breadcrumb trail reading Home, Phones, Edge Pixa 9

Show breadcrumbs

Breadcrumbs are a section, so you turn them on or off per template, such as product, collection, blog, article, page, search and cart.

  1. In the theme editor, open the template, such as Products > Default product.
  2. Find the Breadcrumbs section and click the eye icon to show or hide it.
  3. Click Save.
The Breadcrumbs section in the theme editor sidebar with its visibility toggle

The style is set in Theme settings > Breadcrumbs: the home icon, text size, weight, capitalization and spacing. Truncate the current page breadcrumb shortens long product names after 4, 7 or 10 words.

Show the collection a product came from

When a customer opens a product from a collection, the breadcrumb can include that collection.

  1. Go to Theme settings > Product cards.
  2. Turn on Include collection in product link.
  3. Click Save.

Product links now include the collection, which tells the theme which collection to show.

Custom breadcrumbs for a product

For full control, set the trail for a product yourself with a metafield. This suits products that belong in a particular place, whatever route the customer took.

  1. In your Shopify admin, go to Settings > Metafields and metaobjects > Products and click Add definition.
  2. Name it Breadcrumbs and make sure the namespace and key is custom.breadcrumbs.
  3. Set the type to Collection and choose List of collections, then save.
  4. Open a product and add collections to the metafield, in the order they should appear.
Namespace and key
custom.breadcrumbs
A metafield definition named Breadcrumbs with the key custom.breadcrumbs and type List of collections
A product's Breadcrumbs metafield containing two collections
Collections added to the product…
A breadcrumb trail showing Home and the two chosen collections
…become its breadcrumb trail.

Show custom product breadcrumbs in Theme settings > Breadcrumbs must be on, which it is by default.

Breadcrumbs and search engines

Ignite adds breadcrumb structured data, which search engines can show in results instead of a plain web address. You can turn it off in Theme settings > SEO, GEO & Speed with Add schema to breadcrumbs.