I have a product page which displays a list of colours pulled from the database.
I would like to change the photo of the preview image to display the corresponding colour t-shirt
Eg click red - preview image is red.
Currently the colour selected is a state.
Thanks