6
votes

I'm trying to move the order review section to the top of Woocommerce checkout page and this is working:

remove_action( 'woocommerce_checkout_order_review',    'woocommerce_order_review', 10 );
add_action( 'woocommerce_before_checkout_form', 'woocommerce_order_review', 20 );

But when Checkout opens it scrolls down to the order review section, rather than to the top of the page.

1
This does move the order review to the top of the checkotu page. but it seems the jquery for choosing shipping method is no longer working. for example, the shipping prices doesn't get updated anymore.abc

1 Answers

4
votes

This works:

remove_action( 'woocommerce_checkout_order_review', 'woocommerce_order_review', 10 );
add_action( 'woocommerce_after_checkout_billing_form', 'woocommerce_order_review', 20 );