Filtering with a single value inside a range

Hi there,
I have the following use case which I couldn’t find yet a way to solve it.

I have listings that are described by a minimum and maximum recommended age to use them.
No, the in the filtering the user wants to enter one value for his age, then the filtering should show all listings where the age of the user is between the minimum and maximum recommended age.

For attributes there is no numbers range at data type available.
I thought of making two attributes for the listings, namely min. and max. age.
But how to add this to the filter to have just one age value for filtering?

I’d appreciate input for this issue.
Thanks a lot.

Hi,

Unfortunately, there is no such feature, it will require a custom implementation, but there is a vice versa feature, a range in the search and a single value in the listing. We are also planning to add this feature. As a workaround, you can create two attributes, mark one of them as filterable, and use custom code to change the search logic for it.

​I hope this is helpful to you.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.