Change product image to match the selected variant?
Im looking to sell T-Shirts with multiple color variants. I would like it so when the customer selects a color from the variant dropdown menu, the associated product image updates to reflect the chosen variant. The purpose of this is to give the customer a quick and easy way to preview the look of the shirt before buying.
I imagine javascript is the way to go, but im not sure how to connect it to the variant selection.
Has anyone done this before or could point me in the right direction? Im using X-Cart 4.0
|