title: WooCommerce main product image
body: <p>I want to make a simple change to WooCommerce default template. Currently, the gallery displays on the left side just under the main image. I want it to display on the right side just under the short blurb  description. I managed to do this by adding the following code to the functions.php file:</p>
  
  <pre><code>/*Relocate Product Gallery*/
  
  remove_action( 'woocommerce_before_single_product_summary', 'woocommerce_show_product_images', 20 );
  
  add_action( 'woocommerce_before_single_product_summary', 'woocommerce-main-image', 20 );
  
  add_action( 'woocommerce_single_product_summary', 'woocommerce_show_product_thumbnails', 100 ); 
  </code></pre>
  
  <p>The first line removes the group of images (main and gallery) from the left side.
  The last line puts just the gallery exactly where I want it. 
  The middle line is the issue. I want just the main product image to appear where it should, but instead it's throwing an error. Am I using the wrong vaiable name to call just the main product image? </p>