Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

tsteven

Archived
  • Posts

    1
  • Joined

  • Last visited

Profile Information

  • Real Name
    Thomas Steven

tsteven's Achievements

  1. Nice mod. I found a problem with London/Londonderry, basically the validation couldn't distinguish between the two if you put in London as your zone, and so it just went round and round trying to validate the address. I made the following modification to line 105 in catalog/address_book_process.php: $zone_query = tep_db_query("select distinct zone_id from " . TABLE_ZONES . " where zone_country_id = '" . (int)$country . "' and (zone_name='" . tep_db_input($state) . "' or zone_name like '" . tep_db_input($state) . "' or zone_code like '%" . tep_db_input($state) . "%')"); I don't know whether this is a good way to do things but it seems to fix the problem. Tom
×
×
  • Create New...