I need to display a product along with image and when the visitor hovers over that image, it should change to the first image from the product gallery. The code I am using it displays all the images from product gallery. But I require only the first image
<?php do_action( 'woocommerce_product_thumbnails' ); ?>
Please help me