VirtueMart Forum

VirtueMart 2 + 3 + 4 => General Questions => Topic started by: insightcreative on January 14, 2013, 14:06:54 PM

Title: Change custom field by clicking image
Post by: insightcreative on January 14, 2013, 14:06:54 PM
Hi All

I'm using VM2 and it's all going nicely but I would like to be able to allow visitors to click on an image to set a custom field.

For example:

http://www.mypersonalisedtowels.co.uk/personalised-valentine-gifts/valentine-bear-with-t-shirt-detail

There are thumbnails for available bear colours.

Below is a dropdown for choosing the bear colour.  I would like people to be able to click on the 'Baby Pink' thumbnail and for the drop down to automatically change to select Baby Pink.

I've searched and I think this is possible using Javascript but I'm just not familiar enough with Javascript to implement it.

If someone could help then I'd be most grateful.

Regards
Andy
Title: Re: Change custom field by clicking image
Post by: PRO on January 14, 2013, 16:53:37 PM
why not use custom field type "image"  ??