I am new to WordPress as a developer. I am trying to change the Payment options location in the 2nd column before the Order Summary from WooCommerce checkout Blocks.
I tried multiple solutions from stack overflow.
Based on Move payment methods in Woocommerce checkout page answer code, I edited my theme fuctions.php and added:
remove_action( 'woocommerce_checkout_order_review', 'woocommerce_checkout_payment', 20 );
add_action( 'woocommerce_after_order_notes', 'woocommerce_checkout_payment', 20 );
But it has no effect.
I also tried to edit the WooCommerce review_order.php template file. But, nothing works.
FYI, im using Outgrid template from wordpress, not sure if this makes a difference.