cealex Posted August 31, 2006 Share Posted August 31, 2006 Hi, Dirty fix, :-" for delivery_address_format_id error ... in checkout_process.php file and before the line $sql_data_array = array('customers_id' => $customer_id, ... set the following code: $order->delivery['format_id']=1; $order->delivery['format_id']=1; $sql_data_array = array('customers_id' => $customer_id, ... or you can test if the variable is empty, if so, set the new value ... the new value must be in the table address_format (address_format_id) hasta :P Link to comment Share on other sites More sharing options...
inveritas Posted November 15, 2008 Share Posted November 15, 2008 Hi, Dirty fix, :-" for delivery_address_format_id error ... in checkout_process.php file and before the line $sql_data_array = array('customers_id' => $customer_id, ... set the following code: $order->delivery['format_id']=1; $order->delivery['format_id']=1; $sql_data_array = array('customers_id' => $customer_id, ... or you can test if the variable is empty, if so, set the new value ... the new value must be in the table address_format (address_format_id) hasta :P I tried this by adding the following on that spot: if (!tep_not_null($order->delivery['format_id'])){ $order->delivery['format_id'] = 5; } This however does not help all the time. The delivery address stays empty in orders table. This is not just with Paypal, bu twith other payment options as well. Unfortunately not 100% of the time, which makes error tracking even harder. Any more ideas? Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.