I am trying to add a custom parameter via ACF field to my Woocommerce product images, for example selecting “Rose Gold” from a dropdown on the Woocommerce Product Page Gallery upload/select section.
I have managed to do this via ACF Location -> Attachments. It shows up in the correct place, and saves the value I set.
I then call this via product-image.php child theme override, and it doesn’t work. I have entered a simple string, and the override works correctly, however the ACF field will not display.
Is ACF initialised on the product-image.php page?
I’ve attached the code.
Damn, my attachments didn’t attach! Sorry!
The field is attached to the image, not the post so you must supply the image ID here