2

I have a website developed with Magento 2.2.4.

There is a problem with breadcrumbs.

Breadcrumbs are showing on all the pages except Product page.

How can i check what's error ?!

2
  • Please check from code breadcrumbs are removed from xml for product page? Commented May 24, 2018 at 9:20
  • I have checked that. actually the div with class breadcrumbs is exists, but the data is not there. div is empty at all!!!! Commented May 24, 2018 at 13:00

2 Answers 2

2

Please check committed code in breadcrumb.js in below URL. it will solve your issue.

https://github.com/magento/magento2/commit/34a871bad70e60b1277a28481fc597c79101ad90

2
  • I confirm the presence of this bug on Magento 2.2.4; Editing breadcrumbs.js located at vendor/magento/magento-catalog/view/frontend/web/js/product/breadcrumbs.js did solve the issue. Commented Jun 3, 2018 at 13:01
  • However, now breadcrumbs on product view pages don't show category paths, which renders them somewhat useless to display on the first place. Commented Jun 3, 2018 at 13:53
0

Search a code like <referenceBlock name="breadcrumbs" remove="true"/> in a catalog_product_view.xml file in front-end view.

OR

Do a view source and press ctrl+F and search text breadcrumbs, it may be hidden behind the header menu.

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.