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.
Method 2: You can do this by adding below code block to functions.php file in your child theme folder.