Filter. Routing issue
Posted: 27 May 2024, 08:07
I have the following structure of categories:
Men's clothing (root category) - has menu item
- Scarfs (subcategory) - no menu item
Items have color attributes.
I navigate through the site and go to Scarfs subcategory.
URL: /products/1-mens-clothing/6-scarfs
Breadcrumbs: Home / Products / Men's clothing / Scarfs
As soon as I click on any attribute in module filter, the URL gets this format:
/products/items?id=6:scarfs&a[color]=brown
Breadcrumbs: Home - Products
As a result, the user is being confused and cannot return back to the list of categories through breadcrumbs.
Men's clothing (root category) - has menu item
- Scarfs (subcategory) - no menu item
Items have color attributes.
I navigate through the site and go to Scarfs subcategory.
URL: /products/1-mens-clothing/6-scarfs
Breadcrumbs: Home / Products / Men's clothing / Scarfs
As soon as I click on any attribute in module filter, the URL gets this format:
/products/items?id=6:scarfs&a[color]=brown
Breadcrumbs: Home - Products
As a result, the user is being confused and cannot return back to the list of categories through breadcrumbs.