Hi,
I got this working!
You should have an option list first where you make up your own option class (for instance MEDIA)
Option Text is the displayed text. SELECT MEDIA TYPE:
Option list is the list. Something like: CD-ROM=+0
(option 1 is CD-ROM and will cost +0 of your currency over the default price)
Theproduct options validation can be used to manipulate things based on the selection made in the option list
if (product_option('MEDIA').selectedIndex == 1)
{ alert('You have chose the CD-ROM option'); return true; }
If you have more then one selectable item SELECTEDINDEX will increase by one for every new choice.
Hope this helps?
Nico
|