I think you have made the job harder by separating the colors into different products. With the usual arrangement of attributes, you could build some javascript that would edit the base image name when a selection is made. It might work best to code the PHP to look up variants on the base image name according to some attribute information, find all the images that correspond to those base names, and put this info into some form that is accessible to js. Then have the js swap sets of images on change of whatever attribute is relevant.


Reply With Quote
