If a you have a limit to one use per customer and the customer uses it, then the order is cancelled. It’s just that easy. I am trying to disable coupon codes for my WooCommerce Subscriptions that I have set up through the "all products for subscription" add on. Removing Coupons. 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. The WooCommerce Coupon Restrictions extension provides you with expanded coupon restriction options. When WooCommerce checks a coupon’s usage restrictions, cancelled orders are not considered by default. 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. 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. I could be in the wrong direction completely. That coupon will be available again to that customer. I've tried the snippet below but it's not targeting subscription products added through the "all products for subscription" plugin. Cart Conditions are an advanced way to create WooCommerce coupon restrictions so you can protect your coupons from being used incorrectly. If you don’t have any active coupons, you could completely remove the coupon code field. How to Remove WooCommerce Coupon Code Fields. Let’s go through some ways to hide coupons from different parts of your WooCommerce store to maximize your conversions and customer happiness. In this case, you need to use the Bulk Edit tool, so please open it by clicking it on the toolbar. c) Hide the coupon code field on the WooCommerce Checkout page How to Disable WooCommerce Coupon Code Fields the Easy Way. 1) How to remove the coupon code field. First of all, if you don’t want to use coupons in your store, you can simply disable them under WooCommerce > Settings > Checkout. 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; @cyriac1993 you shouldn’t need to remove the coupon from the order. 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' );. ... For this extension to work optimally, it’s recommended to disable guest checkout and instead automatically create a new user account for new customers. Locate cell – Here you can enter a specific cell content and it will take you right to that cell. With this extension you can limit a coupon to new customers or existing customers. If you need more information about that, check out our guide that explains how to create and set up WooCommerce coupons step-by-step. Step 1: Create a new coupon & add WooCommerce coupon restrictions with Cart Conditions. 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. We’ll assume that you know how to create coupons in WooCommerce. 1) Disable coupon code completely on your WooCommerce store. I have a test product here Step 2: Disable all WooCommerce coupons Creating a new coupon with coupon restrictions is Advanced Coupons and the Cart Conditions functionality. Duplicate – This button helps you create hundreds of copies out of a coupon. This function checks whether there is a coupon field on this page.