phpwordpresswoocommerce

Woocommerce Remove Coupon Section from Checkout Page


I am trying to remove the "Have a coupon" section that sits at the top of a Woocommerce checkout page (/checkout).

I would like to keep the coupon section on the Cart page, so I can't completely disable coupons, but would like it removed on the checkout page.

Any help would be greatly appreciated.


Solution

  • remove_action( 'woocommerce_before_checkout_form', 'woocommerce_checkout_coupon_form', 10 ); 
    

    Put this in your functions.php and this should do it.