VirtueMart Forum

VirtueMart 2 + 3 + 4 => Virtuemart Development and bug reports => Topic started by: sscheidegger on August 28, 2013, 14:18:17 PM

Title: Cart Recalculation on changing Shipment Address
Post by: sscheidegger on August 28, 2013, 14:18:17 PM
Hi all

I'm using VM 2.0.20b and J2.5. In my template I tried to make a button for removing a previously entered shipment address. (See http://forum.virtuemart.net/index.php?topic=118166.0 (http://forum.virtuemart.net/index.php?topic=118166.0))

Because I didn't find a solution, I'm now using the VM default way with a tick on "Use billing address as shipment address" and the jQuery script to hide the old shipment address. However, I'm not really satisfied because this solution does not change the shipment cost and recalculate the cart. (Necessary if the billing address and the shipment address are in different countries!)

Is there an easy way to do it in my template? Or could you add this feature in future versions of VM?

Thanks a lot!