VirtueMart Forum

VirtueMart 2 + 3 + 4 => Virtuemart Development and bug reports => Topic started by: patrik60 on August 18, 2012, 12:31:28 PM

Title: Wrong link "ship to" in VM 2.0.9b
Post by: patrik60 on August 18, 2012, 12:31:28 PM
In the account details the link "Add/Edit shipment address" doesn't direct to the ship-to address form. Instead it directs to "Add/Edit billing address information".

J. 2.5.6 VM 2.0.9b

EDIT: The problem could be the difference between

editaddressST

and

editAddressSt

found in components/com_virtuemart/views/user/view.html.php line 149
Title: Re: Wrong link "ship to" in VM 2.0.9b
Post by: patrik60 on August 18, 2012, 13:06:58 PM
The problem is in the router.php:

line 200   

else if($query['task']=='editaddress'){

when changing it back to

else if($query['task']='editaddress'){

it works fine.
Title: Re: Wrong link "ship to" in VM 2.0.9b
Post by: Milbo on August 19, 2012, 17:40:03 PM
Quote from: patbe60 on August 18, 2012, 12:31:28 PM
EDIT: The problem could be the difference between

editaddressST

and

editAddressSt

found in components/com_virtuemart/views/user/view.html.php line 149

The problem was there, thx.