- This topic has 1 reply, 2 voices, and was last updated 10 years, 5 months ago by .
Viewing 2 posts - 1 through 2 (of 2 total)
Viewing 2 posts - 1 through 2 (of 2 total)
These forums are now closed and remain for historical purposes.
None of the content applies to the new version 3. For support, get in touch via our contact form.
Forums › Forums › Search & Filter Pro › Slider for numeric attributes
Tagged: attributes, number, range slider, slider, woocommerce
Hello!
I have a WooCommerce product attribute for “year” and would like to be able to filter this the same way as “Price” is filtered in your WooCommerce demo, i.e with a range slider. Is this possible to do with an attribute or will it be in the future? If not possible, how can I get a range slider like you have for price, is that only for post meta values?
Thanks.
Hey Marcus
You can access the slider by adding a “post meta” field to your search form, it is available under the number tab.
The slider works with post meta (aka custom fields) – so if the data you want is stored in post meta, and is numeric, you can create a slider.
You can do this with the woocommerce price field by looking in the dropdown for price or _price (can’t remember which one).
Thanks