How to change color swatch after click thumbnail image | product page

When a swatch is selected, it correctly updates the images(and thumbnails) on the left side to the product with that given color, but this does not work the other way around. If an image of a different color is selected, then it does not change it to corresponding swatch, which might cause mistakes in orders and/or confusion for the customer and my client wants me to change it/fix i

When Image is on right and the other element is on left it breaks?

  1. First you need to debug the problem, which lies in main-product if you are using dawn.

  2. Then try to find the in which div the left right condition is set.

Next steps are all depend on the exact problem that you might find there.

Hi @harivishwakarma ,

You can follow the following instruction, it will work fine. Refer link

Hope it helps!