Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

zone code?


kagg

Recommended Posts

Posted

I want to have zone code (not zone name) in my checkout confirmation page for delivery address.

 

How??

 

kagg

  • 7 years later...
Posted

Thats exactly what i need and cant find anything to help, so any advice would be great... anyone :)

 

colhemm

Posted

If I am not mistaken, the checkout_confirmation.php file draws from the checkout_payment page for the zone information.

 

On or about line 98 you will see this:

 

 

$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_code = '" . tep_db_input($state) . "')");

 

 

which calls the zone_name

 

perhaps if you changed it to zone_code it would then pass this information to the checkout_confirmation.php page.

 

 

I am just guessing and only looked at it quickly but that might do it for you.

 

 

 

Chris

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...