0

Is there any workaround to show the fullpath with category and subcategories in the breadcrumb on the product detail page?

It now only shows: Home > Product "myproduct"

0

By default, Magento shows the breadcrumbs on the basis of the path from where the user arrives at the product/category page.

Suppose, a product X has been assigned to:

  • Category A
  • Category A >> Subcategory B

If the user reaches at the product by navigating through Category A only, then the breadcrumbs will show like:

  • Home >> Category A >> product X

If the user reaches at the product by navigating through Category A, then Subcategory B, then the breadcrumbs will show like:

  • Home >> Category A >> Subcategory B >> product X

and if the user reaches at the product by searching, the breadcrumbs will look like:

  • Home >> product X

I hope it is clear now.

  • I know it. I am using a 3rd party extension (megamenu). I think, there are not using the default navigation, therefore Magento2 doesnt display the categories. – Marcel Jan 12 at 10:19

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

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