[Resolved] Show only available options for each input with filter exclusions
This support ticket is created 5 years, 8 months ago. There's a good chance that you are reading advice that it now obsolete.
This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.
Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.
No supporters are available to work today on Toolset forum. Feel free to create tickets and we will handle it as soon as we are online. Thank you for your understanding.
I've created a product search view with custom filters. I've been asked to make it so the filters don't all behave dynamically when a selection is made. There are five filters aassociated with the search: Metal, Origin, Family, Weight, and Purity. What they want is that when a 'metal' is selected the options don't change in that filter (multi-select box) but the available options are reflected (as they should) across the other filter options (origin, family, etc...). That way they can go back and select other metals or 'mult-select' other metals if they choose (and the filter options change).
I tired to do this using checkboxes but when I selected more than one 'metal' all the other filter options went blank. I don't care which filter type I need to use (mult-select or checkboxes) for 'Metals' as long as I can accomplish the task.
For example....
If I select two options in the multi-select box it's shows no results because it 'thinks' I want results that include both options intesad of either option.
What I'm looking for is something closer to a facet filter that I can add/subtract results based upon user choices.
To I do need to beable to allow some of the filter's options to be dynamic.
If I select two options in the multi-select box it's shows no results because it 'thinks' I want results that include both options intesad of either option.
That's a different issue.
If you cannot see the Query Filter section in your View then enable it by going to the Screen Options tab at the very top of the page.
For your multi-select field filter, change the comparison from "equal to" to "in", as shown in my screenshot.