Home › Forums › WoodMart support forum › Search results filters not working
Search results filters not working
- This topic has 9 replies, 2 voices, and was last updated 1 month ago by
Aizaz Imtiaz Awan.
-
AuthorPosts
-
October 20, 2025 at 1:20 am #691720
camillerabbiParticipantHello everyone?
I’m having a problem on a website I’m developing on a temporary domain. On the search page, I added filters, but when I select any of those filters, it shows me all the products from that category, for example. It doesn’t show only the products from that category that match the search results. So, if I search for a term, like “Bibli,” and select the category “Arte,” it shows me all the art books — not just the art books that contain the word “Bibli.”
It’s as if instead of using the “AND” function, it’s using the “OR” function. So, it’s showing either the search results or that category, that ends up displaying a much larger group of products than it should. I need it to use the “AND” condition, meaning it must be from that category and match the search result.
https://ergosol.com.br/page/2/?s=bibli&post_type=product
How can I fix this?
-
This topic was modified 1 month, 1 week ago by
camillerabbi.
October 20, 2025 at 1:31 pm #691815
Aizaz Imtiaz AwanKeymasterHello,
You need to edit your header from WoodMart >> Header Builder >> Select your current header. Then edit the “Search” element and enable the option “show product categories dropdown”.
Screenshot for clarification: https://postimg.cc/KR8Phkx9
This will allow visitors to manually select a specific category to search within.
Best Regards,
October 20, 2025 at 1:42 pm #691820
camillerabbiParticipantHello Aizaz,
Thank you for the quick reply, but I couldn’t find this option in my website
Screenshots:
https://postimg.cc/gLV6k75y
https://postimg.cc/QVJQD93FFurthermore, on other pages, the filters don’t work in an integrated way. For example, if I’m on a page for a specific product tag and select a category within that tag’s page, it takes me to the page showing all books in that category, instead of filtering only that category within the selected tag.
https://ergosol.com.br/produto-tag/historia-universal/
Kind regards,
October 20, 2025 at 3:39 pm #691879
Aizaz Imtiaz AwanKeymasterHello,
Sorry to hear about the inconvenience. Kindly, please share your Site WP-ADMIN Login details in the Private Content field so that we can check this concern on your Site and help you out accordingly.
Best Regards,
October 20, 2025 at 6:15 pm #691911
camillerabbiParticipantThanks!
Here it goes.
October 21, 2025 at 11:51 am #691992
Aizaz Imtiaz AwanKeymasterHello,
Please select the “Full Screen 2” or “Form” layout for the search display. Once selected, you can enable the “Show product categories dropdown” option. This will allow users to perform searches within a specific product category.
See Screenshots for better understanding:
https://postimg.cc/gnGH2J11
https://postimg.cc/K1ZqwQmsBest Regards,
October 21, 2025 at 2:08 pm #692033
camillerabbiParticipantHi Aziz,
Thanks for getting back to me, but it seems there was a misunderstanding about my previous messages. I don’t want to have to select a category at the moment I perform the search. I want to search for any term, and then — once the search results are displayed — be able to filter within those results.
So, to repeat: I do not want to choose a category before the search itself. I want to run a general search for any term and, from the results page, use the filter in the left sidebar to refine those same results.
As I mentioned earlier, the same applies when I’m on a tag page (for example, the “História Universal” tag I sent – https://ergosol.com.br/produto-tag/historia-universal/). When I’m viewing a tag, I need to be able to filter by categories within that tag using the left-hand filter. Right now, when I select any category, it doesn’t filter the products in that specific tag and category; instead, it takes me to the generic category page.
In other words, no matter how I try to filter on the site, I can’t, because it behaves as if there were only a single filter at a time. It can’t combine filters — e.g., tag + category, or search term + category. I urgently need this to be possible: to be on a search results page and filter within the results already shown, or to be on a tag page and filter, within the products for that tag, by a specific category.
October 22, 2025 at 7:30 am #692132
Aizaz Imtiaz AwanKeymasterHello,
The current Woodmart and WooCommerce filtering system does not support combining multiple query parameters, such as search term + category or tag + category, simultaneously.
Sorry, but there is no option in Theme Settings available for that. It requires customization, and this is beyond our limitations and support policy.
Best Regards,
October 24, 2025 at 5:31 pm #692663
camillerabbiParticipantThank you for your reply, but it actually is supported, and I managed to solve it myself. For anyone else who might have this same question, I’ll leave the solution here.
I used the widget that you can find under Appearance > Widgets. There, I added several widgets in a widget area — specifically Woodmart Product Category Filter and Woodmart WooCommerce Layered Nav.
After that, you just need to go to the page you’re building, whether it’s a layout or any regular page in Elementor, and add a Sidebar element. Then you can select which widget you want to display there, and that’s how you can add the desired filter.
October 25, 2025 at 10:28 am #692729
Aizaz Imtiaz AwanKeymasterHello,
You’re absolutely right, using the Woodmart Product Category Filter and WooCommerce Layered Nav widgets together inside a Sidebar element is a smart and effective way to combine filtering conditions when building pages with Elementor.
In your previous response, I was referring to the header search functionality, which is why I was a bit confused about your query. Anyway, it’s great to hear that you managed to solve it successfully, thank you for sharing your solution!
Best Regards,
-
This topic was modified 1 month, 1 week ago by
-
AuthorPosts
Tagged: search results
- You must be logged in to create new topics. Login / Register
