Home › Forums › Product Support Forums › Ajax Search Pro for WordPress Support › Empty search with taxonomy filter not working properly › Reply To: Empty search with taxonomy filter not working properly
Hi!
I think I found the main cause, and possible others as well.
1. The “select/deselect all” button you implemented on the top of the list is de-selecting everything, even the hidden elements of the form. It causes to not search within any post type, therefore it returns no product results.
I suggest adding a filter to the handler script to only select option, which are indeed terms, something like:
$(“.asp_option_cat .option checkbox”)…
or:
$(“.option:not(.hiddend) checkbox”)…
This will make sure to select only visible checkboxes, nothing else.
2. I’m not sure if you need product tags/categories as results. If not, I suggest de-selecting them on General Options -> Sources 2 panel: https://i.imgur.com/aonDQTy.png
3. The results override is not activated, therefore the results on the default wordpress results page are not overwritten by Ajax Search Pro. Here you can read on how to enable that. After enabling, the same results should start appearing on the default search results page.
I hope it helps!
Best,Ernest Marcinko
If you like my products, don't forget to rate them on codecanyon :)
![](https://wp-dreams.com/assets/envato/comment-button-knowledgebase.png)
![](https://wp-dreams.com/assets/envato/comment-button-support.png)
![](https://wp-dreams.com/assets/envato/comment-button-facebook.png)
![](https://wp-dreams.com/assets/envato/comment-button-twitter.png)