At checkout, the “billing/shipping address the same” check box is ticked as a default. How do I change the default condition to unchecked?
give the checkout box a class of .checkout-checkbox
<script>
document.addEventListener("DOMContentLoaded", function() {
var checkbox = document.querySelector('.checkout-checkbox');
if (checkbox) {
checkbox.checked = false;
checkbox.dispatchEvent(new Event('change'));
}
});
</script>