Add Advanced Custom Fields to WooCommerce Product Variation
<p>I am using plugins called <a href="https://www.advancedcustomfields.com/" rel="nofollow noreferrer">Advanced Custom Fields (ACF)</a> and WooCommerce. I want to create a text and image field for WooCommerce product variation. I created fields in ACF and assigned them to <code>"Post Type" &gt; "product_variation"</code>.</p>

<p><a href="https://i.stack.imgur.com/b1Hip.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/b1Hip.png" alt="enter image description here"></a></p>

<p>But for I don't see these fields under <code>product &gt; Variations</code>. I searched and it looks like I have to write a custom code to accommodate these fields. I tried searching the problem and most of the suggestions and tutorials I founds are about creating custom fields via code and not using ACF which is not helping me as the fields have to be using ACF and that is because I am using Visual Composer to pull these ACF fields on front end. </p>

<p><a href="https://i.stack.imgur.com/4ZjXB.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/4ZjXB.png" alt="enter image description here"></a></p>