VirtueMart Forum

VirtueMart 2 + 3 + 4 => Virtuemart Development and bug reports => Topic started by: jux on December 22, 2013, 20:00:52 PM

Title: Bug with delivery adress diferent than invoice adress
Post by: jux on December 22, 2013, 20:00:52 PM
Hello with the newest 2.0.26 update there is an issue with the delivery adress

When customer want to put a different delivery adress than his billing adresss when he then clicks to confirm the delivery adress erase by itself?
Title: Re: Bug with delivery adress diferent than invoice adress
Post by: alatak on December 26, 2013, 15:49:05 PM
Hello
Thank you for reporting
There is a fix to do in the file components/com_virtuemart/helpers/cart.php
function saveAddressInCart
around line 1139
replace
//STaddress may be obsolete
if ($type == 'STaddress' || $type =='ST') {
$prefix = 'shipto_';

with
if ($type == 'STaddress' || $type =='ST') {
$prefix = 'shipto_';
$this->STsameAsBT = 0;