Forums › Forums › Search & Filter Pro › Dropdown number ranges
Tagged: Range-Dropdown, sorting, V3
- This topic has 3 replies, 2 voices, and was last updated 5 years ago by
Trevor.
-
Anonymous(Private) April 28, 2020 at 9:29 am #241702
Hi
I had the filter working really well with a range slider for prices, then the client went and added a couple of listings that are so far outside of the usual price range that everything else fits into a hairs width on the scale. Literally 100-1000 times the price of other things on there.
My question is how to setup price ranges as a dropdown ie -0-50, 50-100…. then 1000+
Completely secondary thing, what’s the best way to disable or remove any sorting from woocommerce if I wanted to use the sorting on the filter instead? With it still in there, I either get no change on sorting or a 404 depending on what settings I’ve got on woo.
Thanks again
Jon
Trevor(Private) April 28, 2020 at 12:18 pm #241750To the first question, you would need to create a second custom field to hold those ranges. You could auto populate that field when the post is saved, but it would mean going back and editing all existing posts. V3 Pro of our plugin (which we hope to release in June) will have the ability to create your own filters, and may well offer you the ability to do as you wish without the need for an additional field.
-
AuthorPosts