Good evening, I try to move the coupon from checkout page, from the top to the bottom, it appears at the bottom but does not disappear from the top, where am I going wrong? Please helppppp me
This is my code and working
========================================================================================
remove_action( ‘woocommerce_before_checkout_form’, ‘woocommerce_checkout_coupon_form’, 10 );
add_action( ‘woocommerce_review_order_after_submit’, ‘bbloomer_checkout_coupon_below_payment_button’ );
function bbloomer_checkout_coupon_below_payment_button() {
echo ‘<hr>’;
woocommerce_checkout_coupon_form();
}
========================================================================================
see screenshoot please
Attachments:
You must be
logged in to view attached files.