Hi, How can I Uncheck "Ship to a different address" on Checkout Page? Now this option is always open, I found a php code but not sure if this is the best way. Thank you
This doesn't solve the issue completely - I don't to force shipping and billing to be the same. I want to uncheck the default "Ship to a different address" so that not everything is "open" when people open the chechkout, but that they still have the option to choose the option to "ship to a different address"
You should insert this code either into the functions.php file of the child theme or by using the CodeSnippet plugin available here: https://wordpress.org/plugins/code-snippets/
Hi, How can I Uncheck "Ship to a different address" on Checkout Page? Now this option is always open, I found a php code but not sure if this is the best way. Thank you
Hi,
Please go to WooCommerce → Settings → Shipping → Shipping options → Shipping destination and Force shipping to the customer billing address.
For more information, please read the document at this link: https://wpdesk.net/blog/woocommerce-checkout-without-address/
Regards,
PenciDesign.
This doesn't solve the issue completely - I don't to force shipping and billing to be the same. I want to uncheck the default "Ship to a different address" so that not everything is "open" when people open the chechkout, but that they still have the option to choose the option to "ship to a different address"
Hi,
Unfortunately, the current version of WooCommerce doesn't support this customization.
Regards,
PenciDesign.
I know, that's why I need a Code to change my php file...
Hi,
You should insert this code either into the functions.php file of the child theme or by using the CodeSnippet plugin available here: https://wordpress.org/plugins/code-snippets/
add_filter( 'woocommerce_ship_to_different_address_checked', '__return_false' );
Regards,
PenciDesign.
Thank you :)