Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

address problems


maury

Recommended Posts

Posted

Hello i have this problem : when a new customer register himself and place the order his address doesen't appear..

 

 

i feel the problem is here in create_account.php :

 

 

 

tep_db_perform(TABLE_ADDRESS_BOOK, $sql_data_array);

 

$address_id = tep_db_insert_id();

 

/*## WORKAROUND ##*/

$address_id=1;

 

tep_db_query("update " . TABLE_CUSTOMERS . " set customers_default_address_id = '" . (int)$address_id . "' where customers_id = '" . (int)$customer_id . "'")

 

 

someone can help me

Archived

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

×
×
  • Create New...