const e_wc_coupon_min_spend_limit_not_met = 108; const E_WC_COUPON_NOT_APPLICABLE = 109; const E_WC_COUPON_NOT_VALID_SALE_ITEMS = 110; I am trying to disable coupon codes for my WooCommerce Subscriptions that I have set up through the "all products for subscription" add on. That coupon will be available again to that customer. It’s just that easy. Step 1: Create a new coupon & add WooCommerce coupon restrictions with Cart Conditions. CODES (7 days ago) Disable Coupons in WooCommerce by unchecking the box under “General” in Settings All you have to do is uncheck the “Enabled the use of coupons” box and your entire site will remove the coupon code fields. Locate cell – Here you can enter a specific cell content and it will take you right to that cell. I could be in the wrong direction completely. If you need more information about that, check out our guide that explains how to create and set up WooCommerce coupons step-by-step. Let’s go through some ways to hide coupons from different parts of your WooCommerce store to maximize your conversions and customer happiness. Step 2: Disable all WooCommerce coupons 1) Disable coupon code completely on your WooCommerce store. However, if you disable the coupon code from the WooCommerce settings as shown in the first method, the automatic coupon code will not work because the coupon code feature is disabled in WooCommerce. 1) How to remove the coupon code field. Our plugin, Remove WooCommerce Features, will let you remove the coupon code fields from your cart and checkout pages with just a few clicks of your mouse. ... For this extension to work optimally, it’s recommended to disable guest checkout and instead automatically create a new user account for new customers. Creating a new coupon with coupon restrictions is Advanced Coupons and the Cart Conditions functionality. I've tried the snippet below but it's not targeting subscription products added through the "all products for subscription" plugin. If it is there, the code disables the coupon code field with the aid of this filter add_filter( 'woocommerce_coupons_enabled', 'disable_coupon_field_on_cart' );. If you don’t have any active coupons, you could completely remove the coupon code field. How to Disable WooCommerce Coupon Code Fields the Easy Way. Duplicate – This button helps you create hundreds of copies out of a coupon. The store owner can disable the discount coupon code field completely on the cart and the checkout page, if they do not want to offer any rewards or offers on the store by disabling the ‘Enable the use of coupon codes’ checkbox in the WooCommerce->Settings->General tab. First of all, if you don’t want to use coupons in your store, you can simply disable them under WooCommerce > Settings > Checkout. We’ll assume that you know how to create coupons in WooCommerce. c) Hide the coupon code field on the WooCommerce Checkout page @cyriac1993 you shouldn’t need to remove the coupon from the order. Cart Conditions are an advanced way to create WooCommerce coupon restrictions so you can protect your coupons from being used incorrectly. If a you have a limit to one use per customer and the customer uses it, then the order is cancelled. The WooCommerce Coupon Restrictions extension provides you with expanded coupon restriction options. This function checks whether there is a coupon field on this page. With this extension you can limit a coupon to new customers or existing customers. Removing Coupons. In this case, you need to use the Bulk Edit tool, so please open it by clicking it on the toolbar. How to Remove WooCommerce Coupon Code Fields. I have a test product here When WooCommerce checks a coupon’s usage restrictions, cancelled orders are not considered by default.