Search categories in Woocommerce
-
Hello!
I have a website working with woocommerce but here is my situation. Imagine you have 2 categories: fruits and vegetables with products inside (oranges, grapes, lettuce, onion). If I search oranges a product will appear, BUT if I search for fruits NOTHING WILL APPEAR. I want that If you search for a keyword in the category, products in that category will appear.
Ive tried the following with no success:
1) Try to add the categorues to the search query but Im not good at all in PHP so couldnt do it2) Try to copy categories to tags since with a plugin I can search products that way
2.1) Tried to copy taxonomies from product_cat to product_tag in myphpadmin
2.2) Tried a lot of useless pluginsTheres not info about this in google so i beg for your help, THANK YOU <3
- The topic ‘Search categories in Woocommerce’ is closed to new replies.