I am using Magento 2.3 for my store.On the product page category and subcategory are missing from the breadcrumb.Is there any workaround to show the fullpath with category and subcategories in the breadcrumb on the product detail page?

It now only shows: Home > Current Product Name

Any help?

Thanks in advance.!!!

2 Answers 2


Add to the view/frontend/layout/catalog_product_view.xml file of your module or theme:

<referenceBlock name='breadcrumbs' template='Magento_Theme::html/breadcrumbs.phtml' />
<block class='Magento\Catalog\Block\Breadcrumbs'/>

Try This



<?xml version="1.0"?>

<page xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:View/Layout/etc/page_configuration.xsd">
        <referenceBlock name="breadcrumbs" template="Magento_Theme::html/breadcrumbs.phtml" />
        <block class="Magento\Catalog\Block\Breadcrumbs" />

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.