We are sorry for the issue you are experiencing. The image is showed twice because probably it has been added also in the product gallery. You can solve the issue removing the featured image from the gallery.
Hello
thank you for the reply, but it is not the case. I have the image only once under feature image. Never repeated in gallery.
Some items I have only 1 feature image and nothing in gallery and it still happens http://www.thegallerykohphangan.com/?product=golden-tiger-eye-ring-ooak
It doesn’t matter if I have 5 gallery or none, every feature image is duplicated twice below….
Some improvement here? I am experiencing the same issue. WooCommerce has been updated a few weeks ago and maybe the last update of YITH Zoom Magnifier is not fixing this problem anymore.
I will keep looking for a solution by myself meanwhile and will share it if I find how.
I found a beautiful solution for this after studying their code.
Just go to your theme directory (or child-theme better if you have one) and create a folder called: single-product
Inside that directory, copy the file product-thumbnails-magnifier.php of the yith plugin that you find in: wp-content/plugins/yith-woocommerce-zoom-magnifier/templates/single-product/product-thumbnails-magnifier.php
There, just below the line 17 that says:
if ( ! empty( $attachment_ids ) ) array_unshift( $attachment_ids, get_post_thumbnail_id() );
paste the following:
$attachment_ids = array_unique($attachment_ids);
And voilá! It works! The problem is that the array generated in line 17 returns a duplicated ID. With my code I am just forcing this array of IDs to contain only unique numbers and not duplicated ones.
Thanks begona.alvarezd, we have added your fix to the updated version that has been just released.