Forums › Forums › Search & Filter Pro › Filtering by price problem
Tagged: filter by meta
- This topic has 8 replies, 2 voices, and was last updated 9 years, 2 months ago by
Trevor.
-
Anonymous(Private) January 25, 2017 at 7:18 am #85169
Hello,
First of all, I need to say that your SF Pro is great and very useful plugin. Thank you.
But…I have one problem. My items have more than one price, and for them I use custom fields. How to filtering price for my item by more then one meta?Thank you
Trevor(Private) January 25, 2017 at 8:42 am #85187Each form control can only filter against one meta key. The posts would have to have multiple values in the one field, but this is not allowed for numeric data, only for textual data, so that would not work either. Sorry. Given the nature of your search form, where each field filter selection further narrows the results, I cannot see a way around this.
Trevor(Private) January 27, 2017 at 10:23 am #85998mmm
I have been thinking. It might be possible. You could either use javascript to remove the first item in the list. The javascript would probably have to look for the All Items value and remove that option from the list. I am not sure how to go about this, but you should be able to find a snippet of code on StackExchange for a jQuery way to do this.
-
AuthorPosts