hide coupon notice in checkout

This commit is contained in:
2025-05-08 16:23:26 +05:00
parent f2e86e4a8a
commit 3ad0fbb3c6

View File

@ -185,3 +185,8 @@ add_filter( 'wc_stripe_upe_params', function ( $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);
}