Home › Forums › Product Support Forums › Ajax Search Pro for WordPress Support › Multiple Taxonomy Logic with checkboxes
This topic contains 5 replies, has 2 voices, and was last updated by Anonymous 1 year, 5 months ago.
- AuthorPosts
- September 28, 2021 at 6:52 pm #34908
AnonymousI have custom post types under custom taxonomies. As seen in the screenshot “custom-terms.png”, I have custom posts with multiple “Height” terms attached to them.
If you go to my test page https://staging20.beachboardwalk.vrdv.co/test2/ and check the following filters:
Thrill Rides
44″-48″
49″ and Talleryou’ll see some results. However, if you uncheck 49″ and Taller filter, no results show up, even though there are custom posts with both of these heights attached to them:
44″-48″
49″ and TallerHow can I get the Heights filter to show any post type that has at least one of the Height terms attached to it instead of requiring ALL of the terms attached to it?
Thank you.
September 29, 2021 at 9:18 am #34920Hi!
You are looking for this option here: https://i.imgur.com/Y7W8VBO.png
That should resolve the issue 🙂
Best,
Ernest Marcinko
If you like my products, don't forget to rate them on codecanyon :)
September 29, 2021 at 4:48 pm #34940
AnonymousThank you, but unfortunately that doesn’t work. I configured it as you show and now any filter I choose (without entering a search term) doesn’t do anything as you can see here: https://staging20.beachboardwalk.vrdv.co/test2/
In fact, it even gives wrong results if I do a search for “Wipeout” (which only belongs to the 44″-48″ and 49″ and Taller categories) and choose Under 34″ as you can see in the screenshot.
September 30, 2021 at 9:54 am #34944All right. I logged in to check the configuration and found the conflict. You have hard-inclusions set under the Advanced options panel. These will be in effect regardless of the filter states. I recommend clearing all of these inclusions (or only keeping the ones, which does not relate to the filter items): https://i.imgur.com/nJNFkWl.png
Best,
Ernest Marcinko
If you like my products, don't forget to rate them on codecanyon :)
September 30, 2021 at 4:59 pm #34952
AnonymousStrange, I didn’t add those… must be automatically added when I choose terms. Anyways, with a few other setting changes, it now works as I need it.
Thank you!
September 30, 2021 at 5:23 pm #34953
AnonymousIn case others want to know, see attached screenshot with my Frontend Search Settings > Advanced panel settings.
- AuthorPosts
You must be logged in to reply to this topic.