How do I add category to breadcrumbs on products page so it says
Home -> Category -> Lenovo Thinkpad
From the Admin panel I've set
Use Categories Path for Product URLs -> YES
But it only affected my url path.
Even thow I go directly to
Rootategory -> Components -> Lenovo Thinkpad It stil says
Home -> Lenovo ThinkPad
I've already checked this:
- Magento 2 Get Full Category Path for product
- Magento 2 some Product URLs show Category path
- How to get category id by category path in Magento 2?
- Get product path from id with category path in url