VirtueMart Forum

VirtueMart 2 + 3 + 4 => Templating & Layouts => Topic started by: SinisterMoose on July 20, 2013, 20:27:17 PM

Title: Selectable Images in Custom Fields instead of Radio Buttons?
Post by: SinisterMoose on July 20, 2013, 20:27:17 PM
Joomla 2.5.11
VM 2.0.22a

I've been chasing this problem for a while now and can't seem to find a straight-forward answer.

I need to have Images in the Custom Fields, which are selectable instead of having the image and a radio button. I don't want the radio button, I find it confusing.

For example: Product A has three color variants. Red Blue or Black. I have created small color icons, and currently they show correctly, but in order to select red blue or black, you have to click on a radio button. I need to be able to click the image icon, instead.

Thanks.
Title: Re: Selectable Images in Custom Fields instead of Radio Buttons?
Post by: balai on July 20, 2013, 23:13:37 PM
Hi

Just hide the radio with css
Title: Re: Selectable Images in Custom Fields instead of Radio Buttons?
Post by: SinisterMoose on July 20, 2013, 23:27:28 PM
Quote from: balai on July 20, 2013, 23:13:37 PM
Hi

Just hide the radio with css

Hiding the radio button with css, would not make the image the input field for selecting the choice.
Title: Re: Selectable Images in Custom Fields instead of Radio Buttons?
Post by: Maxim Pishnyak on July 21, 2013, 22:40:05 PM
Combine use of child products with this
Quote from: Maxim Pishnyak on June 12, 2013, 21:01:55 PM
Use VM for working with Product Colors stuff.

Anybody could select picture on product administration web page.

This picture could be personal color of current product.

And, no, I don't mean using standard product images.