hide coupon notice in checkout
This commit is contained in:
@ -185,3 +185,8 @@ add_filter( 'wc_stripe_upe_params', function ( $stripe_params ) {
|
|||||||
];
|
];
|
||||||
return $stripe_params;
|
return $stripe_params;
|
||||||
});
|
});
|
||||||
|
|
||||||
|
add_action('woocommerce_before_checkout_form', 'remove_checkout_coupon_form', 9);
|
||||||
|
function remove_checkout_coupon_form() {
|
||||||
|
remove_action('woocommerce_before_checkout_form', 'woocommerce_checkout_coupon_form', 10);
|
||||||
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user