Users are experiencing issues with breadcrumb navigation on Shopify’s Dawn theme, where product pages only display “Home > Product Name” instead of showing the full category path (e.g., “Home > Collection > Product Name”).
The Problem:
Breadcrumbs work correctly on collection pages
When navigating to individual products, the collection name disappears from the breadcrumb trail
Products accessed from the homepage don’t show their collection context
Proposed Solution:
A developer (@WebDeskSolution) provided a fix:
Navigate to: Dashboard → Online Store → Theme → Actions → Edit Code
Locate the file card-product.liquid
Replace all anchor link attributes with: href="{{ card_product.url | within: collection }}"
Current Status:
The original poster confirmed the solution worked initially
Multiple users report similar ongoing issues, including:
Blank spaces appearing on homepage after implementation
Products showing only “All Products” in breadcrumbs
Difficulty locating the card-product.liquid file
Confusion about which specific code lines to modify
The discussion remains active with several users seeking clarification on implementation details.
Summarized with AI on October 27.
AI used: claude-sonnet-4-5-20250929.
BUT as soon as you go in to a product, it doesn’t show the collection any more, it just shows the “home” breadcrumb without the collection tab, please see below:
I am trying to solve a similar issue, all our products only show “All Products” in the breadcrumb. I have looked in code and can’t find card-product.liquid can you help?
my website https://lukkydeals.com also has the same problem, breadcrumbs do not show the entire path of the product. All the products are in different collections. How do show the full path of the product in the breadcrumbs.
Same issue here. New to shopify and trying to add breadcrumbs but not showing collection. I’m lost on Step 3: replace all anchors. Should I find every where that says card_product.url and change it to href="{{ card_product.url | within: collection }} or where specifically??