title: Remove WooCommerce thumbnail links
body: <p>I am using jquery script to display product thumbnail images in main product image box.</p>
  
  <pre><code>jQuery(document).on('mousedown','.thumbnails .zoom', function(){
        var photo_fullsize =  jQuery(this).find('img').attr('src').replace('-100x100','');
        jQuery('.woocommerce-main-image img').attr('src', photo_fullsize);
        return false;
      }); 
  </code></pre>
  
  <p>The problem is that if i click on the thumbnail image, it opens up in main product image box, but also in lightbox. How could I remove lightbox from thumbnail links? I don't want any link at all. I only want lightbox in main product image box.</p>
  
  <p>I found the following code from product-thumbnails.php: </p>
  
  <pre><code>        echo apply_filters( 'woocommerce_single_product_image_thumbnail_html', sprintf( '&lt;a href="%s" class="%s" title="%s" data-rel="prettyPhoto[product-gallery]"&gt;%s&lt;/a&gt;', $image_link, $image_class, $image_title, $image ), $attachment_id, $post-&gt;ID, $image_class );
  </code></pre>
  
  <p>But how to change that so it only displays the image and not link?</p>
  
  <p>Thanks!</p>