Changing color on product doesn't change to correct image

I have a store selling t-shirts, and I’m running the Dawn theme. I have 4 colors, and if I click the first one and second one on the product page, the image to the left changes as it should. But the two other colors doesn’t work. I just get the first color option all the time on those buttons. So it’s very inconsistent and weird that it works with button 1 and 2, but not 3 and 4.

I’ve reset my cache and history, I’ve also re-associated the images with the wrong image and then back to the correct one, but nothing seem to be working.

Any advice?

Hi @michael1979

please share your store URL so I can take a closer look

Best,

Daisy

Thanks, but I managed to find out what it was: If I click on a t-shirt colour, but the default size (XS) is not in stock, then it defaults to the first image. Which is clearly a bug. So I don’t think I can fix it, but at least I know what’s wrong.

Hi @michael1979

Great job :heart: I am glad you have found the solution. If you need further help, please feel free to let us know and we will try our best to help you

Best,

Daisy