Jump to content
  • Checkout
  • Login
  • Get in touch


The e-commerce.

changing image with changing attribute


Recommended Posts


I am selling clothes, specifically tops. These tops come in different colours. I have placed a colour attribute (drop down list) for each style. I was wondering is there any way of achieving the following, when a user clicks on a colour the image shown on the page changes to the colour of choice. I'll be grateful for all help.

Link to comment
Share on other sites

A couple of lines of jquery will accomplish what you want. In essence made simple; you need to link an already uploaded image to the attribute.


Eg; attribute = pink. Image = pink.gif


Now use the html of jquery. There are loads of tutorials out there already, another one is not needed here.


You can make it more complicated by allowing the shopowner to upload the images per attribute from within the admin. There is already a addon that allows this, that would need to be tied into the product_info page.

Link to comment
Share on other sites


This topic is now archived and is closed to further replies.

  • Create New...