Developer forum

Forum » Ecommerce - Standard features » Range filters
Thomas Schroll
Reply

Hi

Is it possible to have 'single-sided' range filters? I need a way to limit a range filter to only work on the left side e.g. I have a filter ranging from 0 to 1000 and I only want the user to be able to adjust the lower range (e.g. 100-1000 or 500-1000). Does anybody know a way to do that?

Regards Thomas


Replies

 
Nicolai Høeg Pedersen
Reply

Hi Thomas

I think you need to do that in the template. Do not show the upper limit, but include it when submitting the search.

NP

 
Thomas Schroll
Reply

Thanks Nicolai

I haven't had the time to look at it until now. I'm not the best js programmer and the jquery slider isn't that intuitive. I found a solution which I attach here if it is of interest to others. The code is from the solution set and it isn't tested yet.

Regards Thomas

 

You must be logged in to post in the forum