[ad_1]
Hello,
you can switch the billing and the shipping step by adding the following PHP snippet to your child theme’s functions.php file (or use a plugin similar to Code Snippets):
if ( ! function_exists( 'wmsc_billing_after_shipping' ) ) {
function wmsc_billing_after_shipping( $steps ) {
$steps['billing']['position'] = 25;
return $steps;
}
}
add_filter( 'wpmc_modify_steps', 'wmsc_billing_after_shipping' );
If you need to have the “Shipping to another address?” checkbox checked by default, then that can be done by adding the following PHP snippet to your website:
add_filter( 'woocommerce_ship_to_different_address_checked', '__return_true' );