I want the Magento 2 product page to show the full breadcrumb path including all categories, not just the current product. How can I customize or change templates so that the breadcrumbs show the full hierarchy from the home page to the current product?
top of page
![](https://static.wixstatic.com/media/11062b_a203fdb66f514888a8cb7a230e3b0e66~mv2.jpg/v1/fill/w_1920,h_1280,al_c,q_90,usm_0.66_1.00_0.01,enc_avif,quality_auto/11062b_a203fdb66f514888a8cb7a230e3b0e66~mv2.jpg)
To test this feature, visit your live site.
Comments (1)
bottom of page
I recently set up breadcrumbs in Magento 2 to show the full path from the homepage to the product. By default, they often only show the product itself, which is not always convenient. To fix this, I needed to make a few changes. First, I needed to make sure that the product is assigned to a specific category, as this is important for the breadcrumbs to work. I found this helpful by reading topic magento 2 show full breadcrumbs on product page , where I found a way to customize the template and ensure that all categories were shown in the breadcrumbs. I also checked that the cache was updated and the categories were active.