You can easily change the default state of this checkbox and the shipping field visibility at the WooCommerce checkout.
Make it unchecked and have the shipping address hidden by default
add_filter( 'woocommerce_ship_to_different_address_checked', '__return_false' );
Make it checked and have the shipping address visible by default
add_filter( 'woocommerce_ship_to_different_address_checked', '__return_true' );
Depending on your theme, the fields are generally hidden .
카지노사이트
July 4, 2018With thanks! Valuable information!
Ferdinand Foertsch
July 12, 2018With thanks! Valuable information!
Nass
April 1, 2019Hello,
Thanks for your post, very helpfull !
Is it possible to automatically uncheck it if the customer chose “pickup” and check if if he chose “delivery” ?
Thanks
Dan
February 4, 2020Thats not working anymore since 3.9