Home › Forums › General Issues › Get field from woocommerce attribute taxonomy › Reply To: Get field from woocommerce attribute taxonomy
Hi @sergsce
Could you please make sure that $term->taxonomy
returns the right attribute slug? Could you please test it out by providing the ID manually like this:
get_field('synonyms', 'pa_attributeslug_99');
Where “pa_attributeslug” is the attribute slug and 99 is the ID of the term.
Thanks!
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.