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.