VirtueMart Forum

VirtueMart 2 + 3 + 4 => Templating & Layouts => Topic started by: brandmonkey on September 30, 2014, 16:32:31 PM

Title: Uncheck Shipping same as billing by default
Post by: brandmonkey on September 30, 2014, 16:32:31 PM
Hi everybody.

In my checkout the checkbox "use billing address as shipping address" is checked by default. So the user have to uncheck this to have another shipping address. I wan't to change that, so it's unchecked by default and the user have to check it if they want to use the same address.

Can anybody tell me how to do that?

Title: Re: Uncheck Shipping same as billing by default
Post by: Jurix on October 08, 2014, 12:13:53 PM
Why not uncheck it by jQuery?


$( document ).ready(function() {
   $('#myCheckbox').attr('checked', false);
});


Use code above, don't forget to change the checkbox ID in it.