Questions › Category: Woocommerce one page checkout and layouts Pro › Presales: Can I move coupon input field?
Is it possible to move the coupon field (located above) and put it below REVIEW ORDERS? or simply below all the columns? Is this possible in pro version or even with some coding? I use divi theme btw.
1 Answers
Hi @ Jr ,
It is not possible to put coupon form inside checkout form because it will disturb the flow of processing orders. But yes you can move its position from up to bottom. Here technically coupon form will remain outside the checkout form.
Please use the below code in function.php file.
remove_action( ‘woocommerce_before_checkout_form’, ‘woocommerce_checkout_coupon_form’, 10 );
add_action( ‘woocommerce_after_checkout_form’, ‘woocommerce_checkout_coupon_form’ );
It is not possible to put coupon form inside checkout form because it will disturb the flow of processing orders. But yes you can move its position from up to bottom. Here technically coupon form will remain outside the checkout form.
Please use the below code in function.php file.
remove_action( ‘woocommerce_before_checkout_form’, ‘woocommerce_checkout_coupon_form’, 10 );
add_action( ‘woocommerce_after_checkout_form’, ‘woocommerce_checkout_coupon_form’ );
It should resolve your issue.
Do let us know how it works.
Thanks
Your Answer