I have the some problem...
I'm using the the Radio Button selection for product attributes contribution and want to update the price - Options - Price Update works perfectly, but only for list boxes.
"Radio Button selection for product attributes" makes only two changes:
edit catalog/includes/functions/html_output.php
add this new function tep_draw_radio_menu
add this in somewhere before the final ?>
////
// Output a form radio menu for product info page maniac101
function tep_draw_radio_menu($name, $values, $default = '', $parameters = '', $required = false) {
$field ='<table border="0" cellspacing="0" cellpadding="0"><tr><td class="main">';
if (empty($default) && isset($GLOBALS[$name])) $default = stripslashes($GLOBALS[$name]);
for ($i=0, $n=sizeof($values); $i<$n; $i++) {
$value = tep_output_string($values[$i]['id']);
$field .= '<input type="radio" name="' . $name . '" value="' . $value . '"';
if ($i == 0) $field .= ' checked';
$field .= '>' . tep_output_string($values[$i]['text'], array('"' => '"', '\'' => ''', '<' => '<', '>' => '>')) . '</br>';
}
$field .= '</td></tr></table>';
if ($required == true) $field .= TEXT_FIELD_REQUIRED;
return $field;
}
////
=======================================================================
open and edit catalog/product_info.php
find:
<td class="main" colspan="2"><?php echo tep_draw_pull_down_menu('id[' . $products_options_name['products_options_id'] . ']', $products_options_array, $selected_attribute); ?></td>
replace with:
<td class="main" colspan="2"><?php echo tep_draw_radio_menu('id[' . $products_options_name['products_options_id'] . ']', $products_options_array, $selected_attribute); ?></td>
Only the tep_draw_radio_menu in product_info.php, but there must be a problem with reading values from radio buttons with JS. And I don't know how to fix it... :(