How to custom the breadcrumb collection
Helix builds the breadcrumb trail automatically from the current page. On product pages, the collection shown comes from the URL — a visitor on /collections/men/products/example sees Men. On a plain /products/example URL (no collection), Helix falls back to the first collection the product belongs to.
To always show a specific collection regardless of how the visitor arrived, pin it with a metafield.

How to Use a Metafield to Override the Breadcrumb Collection
Step 1 — Create the metafield definition
In Shopify admin, go to Settings → Metafields and metaobjects → Products, click Add definition, and set:
Name —
Breadcrumb collectionNamespace and key —
custom.breadcrumb_collectionType — Collection, one value
Click Save.

Step 2 — Assign the collection to products
Open a product in Shopify admin, scroll to Metafields → Breadcrumb collection, select the collection you want in the breadcrumb, and save. Repeat for every product that needs a pinned collection.

Last updated