Articles on: MinCart

Activation Rules

Activation Rules



Activation Rules:


Activation rules are a powerful feature that lets you create additional conditions to control when a limit is active. The limit will only be active if all the specified conditions are met.


These rules can be combined using "AND" or "OR" logic to provide highly customizable limitations based on various conditions.


Activation rules are part of the Gatekeeper plan. Standard rules work in your cart and at checkout. Checkout rules read what the customer enters at checkout (the shipping address and the selected delivery), so they only apply to strict limits, which Shopify checks itself at checkout. They're available on every Shopify plan.



Overview


Each rule has three key parts:

  • Type: Defines the kind of rule


STANDARD

CHECKOUT (STRICT LIMITS ONLY)

DEPRECATED

Limit

Shipping Country Code, City, Province Code, Zip, Address, Address 2, Company

Market

Date

Shipping Type, Shipping Method Title

Payment Type

Customer Tag

Shipping Cost, Shipping Cost After Discount

Discount Code

Country


Gift Cards Amount

Currency




A checkout rule on a limit that isn't strict never activates it: the cart can't know the shipping address or delivery yet. The editor warns you, with a Make this limit strict button.


Condition:
Sets the criteria that must be met.


  • Select Limit
  • Is Equal To
  • Is Not Equal To
  • Contains
  • Does Not Contain
  • Starts With
  • Is Greater Than
  • Is Less Than
  • Is Any Of / Is None Of


Value:
Specifies the parameter against which the condition is tested.


  • Is Respected / Is Not Respected
  • Date Field
  • Open Field
  • Currencies
  • Countries
  • Shipping Type


The limit will only be active if the calculated result of all the rules is TRUE.


Basic Limit Types


Limit

The Limit Type rule is one of the most powerful rules in the Quantity Limit App. It allows you to create limits that activate based on other items in the cart, through another limit: "limit X is respected" or "is not respected".


Condition

Value

Is Respected

Select another limit from your existing limits

Is Not Respected



The limit you reference does not have to block carts itself. A common setup is a limit with Enforce on the storefront turned off, used only as the condition of another limit — it is evaluated but never blocks a cart on its own. The list shows such limits as Not enforced.


A Draft limit doesn't exist for your customers, so a Live limit's rule that references it is ignored until the draft goes Live; without other activation rules, the Live limit is always active. The editor asks you to confirm before saving a Live limit like that. To test limits that depend on each other, keep both as drafts and preview them together with Preview Mode (see the article).


A strict limit checks the limit it references itself: the referenced limit doesn't need to be strict.


Customer Tag

Customer tags can be used to target specific segments of your customer base.


Conditions

Value

Is Equal To

Enter a customer tag

Is Not Equal To


Contains


Does Not Contain


Starts With



Is Not Equal To and Does Not Contain also hold for guests and for customers without tags: they don't have the tag.


On a strict limit (see Strict Limits: What They Can't Check):

  • only Is Equal To and Is Not Equal To can be strict;
  • at checkout, a customer who doesn't sign in but enters the email of a customer who has the tag is checked as that customer: Shopify links the checkout to them.


Date

Date rules can be used to make a limit active during a specific period. By combining "AND" or "OR" logic you can make the limit active for multiple period.


Conditions

Value

Is Greater Than

Select a date using the date picker

Is Less Than



A strict limit applies date rules to the minute, as your cart does. It can check only a few different dates, and can't check date rules together with shipping rules other than the Shipping Country Code. For a period that starts and ends on whole days, use the limit's Activation Dates (Start Date and End Date, in its general settings) instead: a strict limit checks them with any other rule, and they don't count among its dates.


Country

Country rules activate a limit based on the country the customer shops from: the country selected in your store's country selector. It works in your cart and at checkout, and replaces the deprecated Market rule.


Conditions

Value

Is Any Of

Select one or more countries

Is None Of



To activate a limit on the shipping address instead, use the Shipping Country Code checkout rule.


Currency

Limitations can be applied based on the currency being used.


Conditions

Value

Is Equal To

Select a currency code

Is Not Equal To


Checkout Rules (Strict Limits Only)


These rules read what the customer enters at checkout. They apply to strict limits once the customer has entered that information: the shipping address, or the selected delivery option. Before that, they count as not met.


Shipping Address Rules

Shipping address rules target customers based on the shipping address they enter at checkout. Each is a separate rule type: Shipping Country Code, Shipping City, Shipping Province Code, Shipping Zip, Shipping Address, Shipping Address 2 and Shipping Address Company. They all take the same conditions.


Conditions

Value

Is Equal To

Open text field

Is Not Equal To


Contains


Does Not Contain


Starts With



Shipping Method Title

Shipping method title rule can be used to activate a limit based on the selected shipping method.


Conditions

Value

Is Equal To

Open text field

Is Not Equal To


Contains


Does Not Contain


Starts With



Shipping Type

Shipping type rule can be used to activate a limit based on the type of selected shipping method.


Conditions

Value

Is Equal To

Store Pickup

Is Not Equal To


Pickup Point


Local Delivery


Delivery



Shipping Cost

Shipping cost can be used to activate a limit based on the cost of selected shipping method.


Conditions

Value

Is Greater Than

Enter the shipping cost value

Is Less Than



Shipping Cost After Discount

Shipping cost after discount can be used to activate a limit based on the cost after discount of selected shipping method.


Conditions

Value

Is Greater Than

Enter the discounted shipping cost value

Is Less Than



Deprecated Rules


These rules are deprecated by Shopify. Existing ones keep working for now, with a notice in the editor, but Shopify hasn't said when they'll stop working, so don't rely on them. They can't be added to a limit any more, and a limit that has one can't be strict until you remove it. See Strict Limits: What They Can't Check.


  • Payment Type, Discount Code and Gift Cards Amount: Shopify's checkout rules can't read them. Only MinCart's checkout extension ever applied them, and Shopify has deprecated the way checkout extensions block checkout, so they stop when it ends.
  • Market: Shopify is removing the market from what checkout rules can read. Replace it with the Country rule. MinCart doesn't convert market rules for you.


Market

This rule type can be used to target specific Shopify markets.


Conditions

Value

Is Equal To

Select one of your active markets

Is Not Equal To



Payment Type

Payment type rules can be used to activate a limit based on the type of the selected payment method. For example you could create a limit only for the users that selects a "Payment on delivery" payment method.


Conditions

Value

Is Equal To

Credit Card

Is Not Equal To

Deferred

-

Local

-

Manual Payment

-

Offsite

-

Other

-

Payment On Delivery

-

Redeemable

-

Wallet

-

Custom On Site


Discount Code

Discount code rules can be used to activate a limit based on the discount codes entered by the user in the checkout.


Conditions

Value

Is Equal To

Enter the discount code

Is Not Equal To


Contains


Does Not Contain


Starts With



Gift Cards Amount

Gift cards amount rules can be used to activate a limit based on the total amount used by gift cards in the checkout.


Conditions

Value

Is Greater Than

Enter the gift card amount value

Is Less Than


Updated on: 19/10/2026

Was this article helpful?

Share your feedback

Cancel

Thank you!