php - Magento: Set and store a global product filter -


In Magento, when a new category is selected or searched, how can layered navigation selections be kept? is?

The whole story:

We are developing a shop that sells books and eBooks. When I'm navigating to the store, I usually want to see all the products. I also want to be able to see a category and only look at books or eBook especially it can easily be obtained with an attribute "product type" and layered navigation.

However, the problem is that if I select or search for any other category, then the current layered navigation filter is lost, I will have to select the "Product Type" filter again.

What are my options if I want to put layered navigation in multiple requests?

Is there a best suggestion to organize my list if I want to be not easily achieved with layered navigation? Can two top level categories be better solutions for books and eBooks? But how can I choose the "Romance" category and still see books and ebooks?

Thank you!

Level navigation is definitely the best way to achieve your requirement.

When you click on an attribute value from the layered navigation block, look at the generated URL (this your-category-path.html.html = color = 6 where 6 attributes Option ID). If you add those query parameters to your later page loads, which have layered navigation blocks and product collections (such as category or search result lists), then they will apply that filter.

Comments