0

enter image description here

How can I show the full breadcrumbs category path on the product page in Magento 2.3?

i want this path complete on product detail page in breadcrumbs enter image description here

3
  • can you please elaborate what you actually want to do in detail?
    – ASQ
    Aug 8, 2019 at 10:06
  • i hava add a picture please check Aug 8, 2019 at 10:10
  • in first picture it shows me only 2 breadcrumbs path on detail page but in second picture it show me full path in breadcrumbs that i need on detail page Aug 8, 2019 at 10:12

3 Answers 3

1

Magento by default provides this functionality in M2.3.3 or greater version. When you navigate to any product using navigation(using category) it will by default show full breadcrumbs on product page(except it will not show full breadcrumbs if you directly navigate to product using url).

Please check on this demo.

You may need to use a extension to show full breadcrumbs on product page for earlier versions.

1
  • At least in Magento 2.4.3 its not as it should be.
    – MLGS
    Nov 9, 2021 at 22:50
1

Please check with below url, its module from Eadesign which have Full path categories product breadcrumb

https://github.com/EaDesgin/magento2-full-path-category-product-breadcrumb

1
  • is this madule working fine for 2.3.2? i am getting error when i go to stroes->configuration.prnt.sc/sst6gt
    – Nafsss
    Jun 3, 2020 at 7:09
0

Try This

app/code/VedoreName/ModuleName/view/frontend/layout

catalog_product_view.xml

<?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">
    <body>
        <referenceBlock name="breadcrumbs" template="Magento_Theme::html/breadcrumbs.phtml" />
        <block class="Magento\Catalog\Block\Breadcrumbs" />
    </body>
</page>

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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