There are times when you would like to display coupon field only on Checkout page. Below snippet will hide coupon fields on Cart page and display it only on Checkout page. Copy and paste this snippet to functions.php file
At times specially after festive season you may want to temporary hide or disable coupons. There are two ways to do this.
Method 1: You can disable coupon from WooCommerce settings Page.
Uncheck “Enable the use of coupons” checkbox as given in below screenshot.