[WC] Move the login form in classic checkout after the page form

This snippet is tested in Sistina, so may be will not work in all themes.

Add the following code into the file wp-content/themes/[themename]/functions.php at the end of the file

remove_action( 'woocommerce_before_checkout_form', 'woocommerce_checkout_login_form', 10 );
add_action( 'woocommerce_after_checkout_form', 'woocommerce_checkout_login_form', 10 );

Remember that the code work only with the classic checkout form

 

Warning: This snippet will NOT work with our plugin Yith WooCommerce Multi Step Checkout!

Was this article helpful?
0 out of 0 found this helpful

Back to Help Center

Powered by Zendesk