Show and Hide Filters based on Events

Hi everybody.

we are operating a marketplace and would like to show/hide filters depending on the selected category. For example different filters are needed cor category t-shirt than for category shoes.

Do you have any idea on how we can achieve this?


There’s a built-in feature in InstantSearch which allow you to add and remove widgets at any time:

This way, you could (un)load refinement lists or any other widget on a simple click event.
Hope that helps!

Thanks Nicolas for your feedback, that is how we are using it right now. :wink:

Fine, then you’re doing it right :slight_smile: .