Move billing and shipping fields.

[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' );

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer