1. Home
  2. Knowledge Base
  3. Advanced Coupons
  4. Cart Conditions
  5. Cart Conditions Available In Advanced Coupons for WooCommerce (And What They Do)
  1. Home
  2. Knowledge Base
  3. Advanced Coupons
  4. Cart Conditions Available In Advanced Coupons for WooCommerce (And What They Do)

Cart Conditions Available In Advanced Coupons for WooCommerce (And What They Do)

WooCommerce Coupon Plugin - Advanced Coupons for WooCommerce
<a href=httpsadvancedcouponsplugincompricing>See Pricing Features<a> | <a rel=noreferrer noopener href=httpswordpressorgpluginsadvanced coupons for woocommerce free target= blank>Download Free Version<a>

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

Free Version

Check if product from specific category is in the cart before applying a coupon

The Product Category Exists In Cart condition lets you check if a product has been added from that category to 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

Free Version

Check if the customer is a guest or is logged in before applying a coupon
Check if the customer is a guest or is logged in before applying a coupon

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

Free Version

Check the customer belongs to one of the roles before applying a coupon
Check the customer belongs to one of the roles before applying a coupon

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

Free Version

Check the customer does not belong to one of the roles before applying a coupon
Check the customer does not belong to one of the roles before applying a coupon

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

Free Version

Check the customer has added a certain number of items to the cart before allowing a coupon to be applied
Check the customer has added a certain number of items to the cart before allowing a coupon to be applied

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

Free Version

Check the cart subtotal before applying a coupon
Check the cart subtotal before applying a coupon

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

Premium Version

Check if a specific product is in the cart following certain quantity rules
Check if a specific product is in the cart following certain quantity rules

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

Premium Version

Make sure product has a custom taxonomy before applying coupon
Make sure product has a custom taxonomy before applying coupon

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

Premium Version

Grant a coupon within certain number of hours after a customer registers an account
Grant a coupon within certain number of hours after a customer registers an account

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

Premium Version

Grant a coupon for use in a certain number of hours after their last order
Grant a coupon for use in a certain number of hours after their 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

Premium Version

Test the customer's user meta before applying a coupon
Test the customer’s user meta before applying a coupon

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

Premium Version

Test for a cart item's meta data before applying a coupon
Test for a cart item’s meta data before applying a coupon

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

Premium Version

Test customer's total spend with your store for all time or over a specific period
Test customer’s total spend with your store for all time or over a specific period

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

Premium Version

Before applying a coupon check if they have ordered a certain product before
Before applying a coupon check if they have ordered a certain product 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

Premium Version

Make sure a customer is within a shipping zone/region before granting a coupon
Make sure a customer is within a shipping zone/region before granting a coupon

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 conditions to ensure that they meet that criteria before applying the coupon.

Cart Condition: Number of Customer Orders

Premium Version

Monitoring a customer’s order history with your store is an effective way to identify loyal customers who can be rewarded for their purchases.

Using our Number of Customer Orders Cart Condition, you can easily set up a coupon that will only activate after a customer has reached a specific number of orders. This feature can also be configured to check if a customer has not placed any orders, allowing you to create a coupon to encourage them to make their first purchase.

Moreover, you can pair the Number of Customer Orders cart condition with its reverse counterpart to create a range of order thresholds for offering rewards. With this level of flexibility, you can incentivize customer loyalty and drive repeat orders.

Cart Condition: Stock Availability

Premium Version

Restricting coupons based on stock availability of the item in the cart. At the moment the conditions available for this is:

  • In stock
  • Out of Stock
  • On Backorder

The Stock Availability condition will allow you to have advanced coupon mechanics like Shipping discounts if the product is on Backorder

Cart Condition: Has Ordered Before On Product Category

Premium Version

Restricting coupons based on the customer’s order history on a specific product category

You can use the Has Ordered Before On Product Category condition to run coupons based on the number of orders placed by the customer within a specific period (days) or cart quantity.


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.

Was this article helpful?

Related Articles