Home › Forums › General Issues › how to use ACF Post types to refine woocommerce product searches in Avada › Reply To: how to use ACF Post types to refine woocommerce product searches in Avada
I can’t tell you how to use “ACF: Better Search”. This is a plugin by another developer and I do not use it.
What I do know is that you cannot alter the “s” parameter in the WP search to include searching a post based on a taxonomy.
You would need to have a separate field that listed the terms in the taxonomy where the value submitted is the term_id for each term. Then you would need to alter the query done during the search to add a tax_query.
Welcome to the Advanced Custom Fields community forum.
Browse through ideas, snippets of code, questions and answers between fellow ACF users
Helping others is a great way to earn karma, gain badges and help ACF development!
We use cookies to offer you a better browsing experience, analyze site traffic and personalize content. Read about how we use cookies and how you can control them in our Privacy Policy. If you continue to use this site, you consent to our use of cookies.