Hello Finsweet team,
I’ve been grappling with an issue for several weeks now that I’ve tried to solve in various ways but persists. My client requested a website with dynamic filters for their CMS items, which I successfully implemented using Finsweet’s filters, and everything initially worked perfectly.
However, a new requirement arose to add a price range filter with an upper limit that could extend to cover items priced up to $3,000,000 and beyond (e.g., items costing $10,000,000 should also be included in the filter without setting $10,000,000 as the maximum). I managed this by adding a select input for the numbers, displaying $3,000,000 as the maximum but actually setting the real value to $1,000,000,000 in the system. Up to this point, everything functioned flawlessly.
The issue emerged when I attempted to add query parameters in the URL so that the same filters could appear on another page to which the user is redirected for viewing more items. I applied the ShowQuery attributes, and they worked well except for the price range filter using the select input. When the page is refreshed or when redirected to another page with these active price range filters, the select input elements appear completely blank and fail to filter the prices, forcing the user to re-enter them, which is not in line with what the client wanted.
I suspect the problem might be with the select input and the query parameters not working well together, but I’m at a loss for a solution as I’m not a coding specialist.
After refreshing or redirecting
Could you please help or suggest any creative solutions? I’ve attached photos of the error and my preview link.
Thank you very much for your assistance!