Im experiencing a problem where if a product has multiple variants and multiple images, but some of the variants use the same images, the product image thumbnails go out of sync with the main product image displayed.
For example, if I were selling:
Red Shoes, size 6
Red Shoes, size 8
Blue Shoes, size 6
Blue Shoes, size 8
Green Shoes, size 6
Green Shoes, size 8
All variants of the red shoes would use the same product image
All variants of the green shoes would use the same product image
All variants of the blue shoes would use the same product image
The main image section will show 3 images, one for each image file uploaded.
The thumbnail section will show 6 images, one for each variant.
This causes the thumbnails and main image to go out of sync when switching between images.
Ideally, the thumbnails section should only show 3 images.