The request
“When a customer clicks a color swatch, the main product image should switch to that variant's image. Right now the swatch changes the price but the image stays the same.”
Customers couldn't see what they were selecting. Wrong-finish returns were the result.
The approach
We connected the swatches to the product gallery so selecting a finish shows its image immediately. Where a variant has multiple images, the gallery filters to just that variant's set.
What we shipped
Swatch selection switches the product image
Gallery filters to the selected variant's images
Works in quick view
Tested across the full catalog