Hello everyone,
I get category and product pages breadcrumbs nicely when I go by hierarchy, but when I search a SKU and land to product page, it gives only Home>product title. How to solve this?
Solved! Go to Solution.
Yes its native behavior of Magento - Full path will only shown when someone actually go with hierarchy meaning from the menu if you go with category -> sub-category -> product detail page then it will surely showcase you full path.
But if you directly go with product details page from the search or URL anything it will only showcase you that particular product path !
If you will still want to override this then you will require to do customization on the top of this native behavior for that below i am sharing reference link -
Happy to answer your question
Hope it helps !
When you go from hierarchy system knows the category path for product but when you go from search page direct then system directs you to product page. And a single product can be assigned in multiple categories that's why system does not add any category path. If you want to add breadcrumb in case you need to override magento's functionality for it.
Yes its native behavior of Magento - Full path will only shown when someone actually go with hierarchy meaning from the menu if you go with category -> sub-category -> product detail page then it will surely showcase you full path.
But if you directly go with product details page from the search or URL anything it will only showcase you that particular product path !
If you will still want to override this then you will require to do customization on the top of this native behavior for that below i am sharing reference link -
Happy to answer your question
Hope it helps !
Hi Ravikant
Thanks for the reply.
Hi Manthan
Thanks for this solution!
Happy to help ! keep helping others