Forums › Forums › Search & Filter Pro › Range Slider assumes all prices are 0
- This topic has 5 replies, 2 voices, and was last updated 5 years, 10 months ago by
Trevor.
-
Anonymous(Private) May 19, 2020 at 1:50 am #244711
Hi, I have created some filters for a website that sells businesses. They are working fine except for the range filter i am using for prices
I am using a meta field to draw the business price data from my business listing posts.
The businesses are showing in there search results if I don’t touch my price slider, but as soon as I move it above 0 they all disappear, as though Search Filter Pro is reading all prices to be zero (which they are not)
I am using Advanced Custom Fields for to create meta fields and defined ‘Business Price’ to be a number field and using the Elementor Search Filter Pro widget. Any ideas as to fix this? Thanks
Trevor(Private) May 20, 2020 at 4:43 pm #245157Looking at the form, I think this is the issue … in selecting the Meta Key name, note a ‘gotcha’ with ACF ….
… it makes 3 meta keys per field, like this (in this example for a field named ‘land’):
#1
_land
#2field_52f0fc4334f52
#3landIn our Meta Key selection list, you need to use key #3, without the underscore at the start of the key name. If you choose #1 by mistake, in the field choices you will see the name of #2.
Yours was set to
_business_price. I have now set it tobusiness_price. -
AuthorPosts