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

Para makita itong gumagana, pumunta sa iyong live site.
Comments (1)
Hindi na available ang pagkomento sa post na ito. Makipag-ugnayan sa may-ari ng site para sa higit pang impormasyon.
Libreng Sound kit
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.