Posted on

Magento 2 How to show categories name in breadcrumbs in some conditions?

I am trying to show breadcrumbs when open a product from custom listing or from search result. For example, if I open a product from search result, then it’s breadcrumbs look like this image:

The actual result which I want is:
This breadcrumbs must include the category name as well.

I tried to fix this issue by follow this URL but not worked…
https://github.com/magento/magento2/issues/7967#issuecomment-315310890

Please guide me.

Leave a Reply

Your email address will not be published. Required fields are marked *