Home › Forums › Product Support Forums › Ajax Search Pro for WordPress Support › Advanced Filters with AND, OR logic. Best setup for large web store? › Reply To: Advanced Filters with AND, OR logic. Best setup for large web store?
Hi,
This all could be solved very easily.
Since you want to match only at least one of the selected categories, and nothing else, you might not need the exclusions at all, there is a different option. So, to solve this:
1. On the Frontend Search settings -> Advanced panel, change the Category/Taxonomy terms logic to “At least one selected terms should match”: https://i.imgur.com/nPlpTT0.png
2. (optional) You can unset the exclusions now (Advanced Options -> Exclude results), as it’s not neccessary with this logic: https://i.imgur.com/ErUsERO.png
This should result in the exact same behaviour as you described.
Best,Ernest Marcinko
If you like my products, don't forget to rate them on codecanyon :)



