rhubarb Posted October 6, 2005 Posted October 6, 2005 I want to be able to reset the billing address (primary address) at checkout. In checkout_shipping.php the change address button leads to the checkout_shipping_address.php file where I've added a Set as billing address checkbox to each alternative address. According to the selection, I've reregistered the session variable customer_default_address_id and updated the field 'customers_default_address_id' in the customers table. The change is recognised if I go back to the change address page but if I proceed to checkout_payment.php and checkout_confirmation.php it is still set with the previous billing address. Anyone done any similar work in this area please?
rhubarb Posted October 6, 2005 Author Posted October 6, 2005 Solved. I added if (!tep_session_is_registered('billto')) { tep_session_register('billto'); } $billto = $customer_default_address_id; in checkout_shipping_address.php
Recommended Posts
Archived
This topic is now archived and is closed to further replies.