Forums › Forums › Search & Filter Pro › Results are showing incorrect items based on range filter
Tagged: V3
- This topic has 25 replies, 3 voices, and was last updated 4 years, 11 months ago by Ross.
-
Trevor(Private) November 21, 2019 at 5:05 pm #227249
I think the problem is in this settings tab of the form (Tags, Categories and Taxonomies):
https://www.screencast.com/t/xgVfPQbC57
I see you have 3 rows of includes. whilst this might not cause issues, having multiple includes often does.
In the case of Product Bathrooms, you actually wanted all values, so you searched and select ‘Select All’. In fact, for all, you want none selected, so that the field is empty.
The same may well apply to the other two rows. Can you try that (most likely with all 3 rows empty)?
Trevor(Private) November 26, 2019 at 5:58 pm #227713This has taken me a little while to realize what the problem is. In the form you have set (for example) the product attribute ‘squarefoot’ as a post meta, and thus it can have a range control field. But, Product Attributes are stored by WooCommerce as a taxonomy, and are thus arrays, and so cannot have a range slider.
Why pa_squarefoot appears as both a post meta and a taxonomy I do not know (some quirk or WooCommerce I suspect).
But, you would need to set up separate custom fields (using a plugin like Advanced Custom Fields) and enter the data in to those.
-
AuthorPosts