Latest News: (loading..)

luxactor

Members
  • Content count

    6
  • Joined

  • Last visited

About luxactor

Profile Information

  • Real Name
    Luxactor
  • Website
  1. 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... :(
  2. Is it perhaps the PHP / MySQL version? I'm using PHP 5.2.3, Apache 2.2.4 and MySQL 5.0.45.
  3. Thx for the great work! I have a problem: in my Admin Panel > Custom Products > Categories, I can't create any new category, edit or delete it. After push the "Reload" button, or push the Enter button in the field, nothing happens. I've done a new osCommerce installation, and checked the installation instruction many times again... please help. :blush: