Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Accessing customer State and Country during checkout


Guest

Recommended Posts

Posted

Here's the deal, writing code for custom shipping options but it needs to check the customers state and country they put in for shipping. I checked the address_book table but there is no state showing up and the country is already in ID format.

 

Are there any php variables that I can access during checkout w/o having to get info via sql?

 

Thanks.

Posted

I'm trying to accomplish something like that too. I need to get the state when choosing the shipping option. I think the order.php contains a lot of that info, and is called durring the checkout process, so the data should be available, I'm just not exactly sure the format of the data (names or pointers) and exactly how it is referenced when stored.

Archived

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

×
×
  • Create New...