Search products within a custom attribute
-
Hi ILLID,
Hope you are doing good.
Using your plugin for Woocommerce product search.
I have a Custom Attribute called “Domains” (like: “Math”, “Physics” ,”Computer”)
Every product should have this custom attribute. I want to search products within a specific Custom attribute.
Use case: User will choose the domain when the page loads for first time. Once domain is selected, the search bar should produce results only for that custom attribute(“Domain”). Example, if “math” is selected, any search results should produce only Math related products.
Is there any hooks available for this. I will get the “domain”(attribute/taxonomy) value via session/cookie in php. I want to add this additional query with this taxonomy for every search.
I have gone through the documentation, but couldn’t fine. Sorry if I have missed it.
Thank you for your support in advance.
- The topic ‘Search products within a custom attribute’ is closed to new replies.