title: Get product variation images on Woocommerce shop page
body: <p>What I essentially want to achieve is to show product variation images (particular image for each variation) on the shop page. I was successfully able to get the name of the variations using the code below (put into "content-product.php"): </p>
  
  <pre><code>&lt;?php
  $colourvalues = get_the_terms( $product-&gt;id, 'pa_colour');
    foreach ( $colourvalues as $colourvalue ) {
     echo $colourvalue-&gt;name;
    }
  ?&gt;
  </code></pre>
  
  <p>Unfortunately there is nothing in the <code>$colouvalues</code> array that is the variations image url or anything related to the image. </p>
  
  <p>Does anyone please help me with this? </p>