Dynamic search tools and sorting results

Hi everyone! I hope someone will be able to help me as I’m currently stuck!
On one of my page, I have a catalogue of goods, for which I would like to have users able to filter and sort elements based on their needs.
On the left, I have a menu with categories, prices, discount, brand.
On the top, I have a sorting options by ascending or descending price.
I was able to make each of the menu work (I can filter by the left menu or sort by the top filter), but I’m struggling to make a combine filter and search function: if I want to filter by price AND sort by ascending price, I can’t make it work!
It’s been days I’m stuck on this issue and would highly appreciate if anyone could help me on this!!

Many Thanks in advance!

1 Like

If I understand what you need, you want to filter and search at the same time.

I’ve dom this before. To do this, you’ll add constraints when you do a search for that goods. The name will carry the search input value, and since you’ve added the other filtering options, leave it that way.

Under the sort by, you’ll see an option “ignore empty constraints”, check the box. When there’s no value in the search input or no filters, it will show all goods.