Home › Forums › ACF PRO › Adding fields to WooCommerce Attributes (not attribute terms) › Reply To: Adding fields to WooCommerce Attributes (not attribute terms)
Did you ever solve this? I was looking for something similar and hope to have found a solution in:
Adding Custom Post Type UI. Then add a new custom posttype like “Attribute extras”. After that you can add a new group in ACF and add an image and extra description for example. Also you add a Taxonomy field with the field name matching the slug of the Attribute. You do this for each Attribute (in my case about 30).
Finally when you add a new “Attribute Extra” you use the Title to match the slug of the actual attribute. In front you then make some custom code to display the image instead of the attribute value.
Still testing this as I want to import all (2000+) Attribute Extra’s. I’ll let you know if it works
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!