Advanced Coupons for WooCommerce has a coupon rule feature called “Cart Conditions”.
Cart Conditions let you test your customer’s eligibility on a range of conditions before granting them the coupon.
In this knowledge base article, we’ll talk about each cart condition in Advanced Coupons and what they do.
Note that some are available in the Free Version of Advanced Coupons (which you can download from WordPress.org) and some are only available in the Premium Version.
For a direct feature comparison between the two versions please see our pricing and features page for Advanced Coupons Premium.
What Happens If They Don’t Meet The Criteria For The Coupon?
If the customer isn’t eligible, the system will not allow the coupon to apply.
Likewise, if the customer becomes ineligible (by breaking one of the coupon rules) it will remove the coupon.
You can safely use Cart Conditions as a way to ensure your WooCommerce coupons are not abused and that they’re only granted based under the conditions and rules that you set.
Chaining Cart Conditions/Coupon Rules Together
Cart Conditions are very powerful because you can chain them together to create complex tests.
For example, you could target a customer’s user role, ensure they have a specific product in the cart, and that they’re achieving a minimum subtotal all in one condition group.
You can also create groups of rules so you can test multiple scenarios at the same time (we call these Condition Groups).
As long as the conditions are all true at the end, it will grant access to the coupon. If the customer doesn’t satisfy each and every rule then it will not allow the coupon to apply.
Cart Condition: Product Category Exists In Cart
The Product Category Exists In Cart condition lets you check if a product has been added from that category into the cart.
If a product from one of the specified categories has been added, it will pass the check.
Cart Condition: Customer Logged In Status
Do you want to check if the customer is logged in or out before applying the coupon? You can check that with the Customer Logged In Status cart condition.
If it doesn’t match the condition, then they won’t be allowed to apply the coupon. Great for applying coupons only for guest users or vice versa.
Cart Condition: Allowed Customer User Role
If you want to check specifically for customer user roles before applying a coupon then you can use the Allowed Customer User Role cart condition.
This will check that the customer has the required role in the allowed list before applying the coupon.
Cart Condition: Disallowed Customer User Role
The Disallowed Customer User Role cart condition is very similar to the allowed version, only you are doing the reverse.
If they have one of the roles in the disallowed list they will not be able to apply the coupon.
Cart Condition: Cart Quantity
Cart Quantity cart condition checks that the user has a certain number of total items in the cart. If they do then it will allow them to apply the coupon.
This can be useful if you have a coupon to apply after a certain number of items purchased.
Cart Condition: Cart Subtotal
A popular condition to check before applying a coupon is the Cart Subtotal. This lets you determine if the customer has reached a subtotal before allowing the coupon to apply.
Subtotal limits are a very popular restriction for coupons.
Cart Condition: Product Quantity In The Cart
If you want to check that a customer has a specific product in a specific quantity in the shopping cart then the Product Quantity In The Cart cart condition will help you with that.
It will check for the product (or products) and measure their quantity to see if the customer is eligible to use that coupon based on that.
Cart Condition: Custom Taxonomy Exists In The Cart
Custom Taxonomy Exists In The Cart is very similar to the Product Category Exists In Cart condition but this is made for non-standard taxonomies.
You might have a custom taxonomy on Products for “Brands” for example and this would let you check on those before applying a coupon.
Cart Condition: Within Hours After Customer Registered
It can be useful to check when a customer was registered on your store before applying a coupon which you can do with the Within Hours After Customer Registered cart condition.
You can use this in a number of ways, particularly if you let your customers register for an account prior to purchase.
Cart Condition: Within Hours After Customer Last Order
Do you give customers a coupon for use within a certain time period to encourage a follow-up order?
Then using the Within Hours After Customer Last Order cart condition can help you restrict your coupons to ensure compliance with that rule.
Cart Condition: Custom User Meta
Custom User Meta is great for integrating with non-standard systems that add extra user metadata to your customer records.
You’ll now be able to restrict coupons based on that extra custom user metadata.
Cart Condition: Custom Cart Item Meta
There are a lot of plugins that add extra data to your cart items in order to manage things like product add-ons, extra services, subscriptions, and more.
The Custom Cart Item Meta cart condition is a tool you can use in specific situations where that custom cart item meta has been added and you need to target a coupon for that.
Cart Condition: Total Customer Spend
Checking a customer’s total spend with your store can be very useful for rewarding customers after a certain amount.
The Total Customer Spend cart condition will let you create a coupon that is only active if they’ve spent a certain historical amount. This can also be used in reverse (to check they haven’t spent over an amount) and paired together to create a range.
Cart Condition: Has Ordered Before
Do you want to check if a customer has ordered something before letting them apply a coupon? This is what the Has Ordered Before cart condition is useful for.
It lets you check a date range of orders or a number of previous orders for a product in a certain quantity.
Cart Condition: Shipping Zone And Region
Restricting coupons based on the shipping zone is great when you need to apply coupons geographically.
You can use the Shipping Zone And Region cart condition to ensure that they meet that criteria before applying the coupon.
Pro Tip: Chain Cart Conditions Together To Create Complex Coupon Rulesets
You can combine any of the rules above together and you can even add multiple groups of conditions (what we call Condition Groups).
This makes Advanced Coupons Premium the most powerful coupon rules engine for WooCommerce on the market.