This is how Open Cart 0.7.9 RC3 is working
Check out > create account > check out again after creating account
Then change "delivery" address to something else
The result is that the "payment" address changes to the 2nd address (the delivery address) entered so the buyer has to change address again to set the payment address back to the original first address.
How do I make Open Cart not change the payment address to the delivery address please?
It is annoying for the buyer to have to change the address back to the payment address, after having changed the delivery address.
I can see them not doing it so that I end up payment addresses which are actually delivery addresses.
Thanks
EASY 
EDIT:
/catalog/controller/checkout_payment.php
CHANGE:
TO:

EDIT:
/catalog/controller/checkout_payment.php
CHANGE:
Code: Select all
if (!$address->has($session->get('payment_address_id'))) {
$session->set('payment_address_id', $session->get('shipping_address_id'));
}
Code: Select all
if (!$address->has($session->get('payment_address_id'))) {
$session->set('payment_address_id', $customer->getAddressId());
}
Who is online
Users browsing this forum: No registered users and 2 guests