Home › Forums › General Issues › Show text next to attributes on product page › Reply To: Show text next to attributes on product page
Product attributes are terms. You would use ‘term_’.$attribute->term_id.
I’m not exactly sure how to get the ID
What is in $product_attribute
, seems to be an array, try adding this to the loop and see if the ID is in there
echo '<pre>'; print_r($product_attribute); echo '</pre>';
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.