I have a set of attributes which can be filtered with layered navigation. But when I set the filter in one category it should stay when I list the products in another category. But unfortunately I have to set the filter again when changing to another category. How can I solve this? Thanks

  • What have you tried? Which problems did you encounter? Save the filter to session and reuse them on request. Oct 14, 2014 at 23:12

1 Answer 1


Basically you can save layered navigation selection in the session. For this you may use of the pre-dispatch events.

And update the Mage::app()->getRequest()->setParam('color', 13); Where 13 is the value you have saved on the previous step from the request.

You also need to handle the params clearing and changing, so the values from the request have higher priority thet the same saved params in the session.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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