Answer the question
In order to leave comments, you need to log in
Advanced search for woocommerce with the ability to search in specific categories?
Hey!
I just can't find a plugin that would search in certain categories.
For example, the site has sections: Food, Clothing, Electronics.
The user chooses from select'a the necessary section and search is already carried out on the given section (category).
In principle, I would have a search engine myself, and I would have attached the select to it myself.
I hope for your help.
Answer the question
In order to leave comments, you need to log in
The search engine itself is in the core.
For example: my.shop/product_category/notebooks/
if you add s like this: my.shop/product_category/notebooks/?s=text
it will search within that category.
then you just need to write a form that will take this logic into account.
will search within the category.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question