Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Aidin

Archived
  • Posts

    5
  • Joined

  • Last visited

Profile Information

  • Real Name
    Aidin

Aidin's Achievements

  1. I too am having the issue on customers.php where the drop down changes to a text box after a different country is selected. All other places where the drop downs are work fine. My situation is similar to Mike's. Thanks <?php if (ACCOUNT_STATE == 'true') { ?> <tr> <td class="main"><?php echo ENTRY_STATE; ?></td> <td class="main"> <?php // +Country-State Selector $entry_state = tep_get_zone_name($cInfo->entry_country_id, $cInfo->entry_zone_id, $cInfo->entry_state); $zones_array = array(); $zones_query = tep_db_query("select zone_name, zone_id from " . TABLE_ZONES . " where zone_country_id = '" . (int)$cInfo->entry_country_id . "' order by zone_name"); while ($zones_values = tep_db_fetch_array($zones_query)) { $zones_array[] = array('id' => $zones_values['zone_id'], 'text' => $zones_values['zone_name']); } if (count($zones_array) > 1) { echo tep_draw_pull_down_menu('entry_zone_id', $zones_array, $cInfo->entry_zone_id); echo tep_draw_hidden_field('entry_state', ''); } else { echo tep_draw_input_field('entry_state', $entry_state); } // -Country-State Selector ?></td> </tr> <?php } ?>
×
×
  • Create New...