Forums › Forums › Search & Filter Pro › Not displaying all search options
Tagged: missing options, WooCommerce Custom Fields
- This topic has 15 replies, 3 voices, and was last updated 7 years, 1 month ago by
Anonymous.
-
Anonymous(Private) June 29, 2018 at 1:42 pm #181627
Hi Ross,
Sorry I didn’t see that he had replied above.
If possible I need the Colour drop down to display all the colours that are listed in the custom fields, even if there is no result as yet.
I’m sure this was working at some point,
Thanks,
Rory
Ross Moderator(Private) June 29, 2018 at 2:12 pm #181629Hi Rory
RE the colour field.
It will only be populated with results that exist (this is the way post meta fields work) – S&F will search your posts for all the possible values (which means they must be assigned to a post) and then it builds the options from that.
There are other ways to achieve what you want, you could use a custom taxonomy field instead, which will pull all the options available, rather than checking to see what is assigned to your posts.
More info on that here – https://searchandfilter.com/documentation/getting-started/adding-new-fields/#creating-more-fields
Thanks
-
AuthorPosts