View Single Post
  #28  
Old 09-17-2007, 01:49 PM
 
pyap pyap is offline
 

Member
  
Join Date: Aug 2004
Posts: 16
 

Default Re: Product Options Customizaion ?

I flipped through your code, compared to mine, this should fix the problem:

Code:
/* Get product option value -modified */ function getPOValue(c) { if (document.getElementsByName('product_options['+c+']')) { var radios = document.getElementsByName('product_options['+c+']'); for (var i = 0; i < radios.length; i++) { if (radios[i].checked) { return radios[i].value; } } } }

I fixed the original post #18 to show this code. All that is changed is:

'po'+c is now 'product_options['+c+']'

My apologies. That is my fault. I didn't check the code that I posted.
__________________
X-Cart 4.1.8 Gold
Windows 2000 server
Reply With Quote