Thread: product options
View Single Post
  #1  
Old 05-05-2003, 09:19 PM
 
e1front e1front is offline
 

Senior Member
  
Join Date: Feb 2003
Posts: 179
 

Default product options

I have a product for men's shirts
I added an option called "color"
and the option list is
- Select a Color
- Blue
- Red
-Yellow

then i tryed to add exception to disable first selection
if (product_option('color').selectedIndex == 1)
{ alert('You have not chosen a color'); return false; }

but nothing happens???
where did i go wrong?
Reply With Quote