Skip to content
Esc

Start typing to search the docs.

On this page
How-to Updated Aug 16, 2026

Build an advanced rule

Create an Advanced Rule to apply a limit only in specific situations. First choose the conditions, then choose whether all or any conditions must match, set what should happen, add the customer message, and test the rule.

Applies to
  • Premium plan
Doesn't apply to
  • Basic plan
Limit should apply to every order? Use a Simple Order Limit instead

Before you start

Before creating the rule:

  • Make sure your plan includes Advanced Rules.
  • Decide exactly when the rule should apply.
  • Write the rule in one simple sentence.

Example: “Orders shipping outside the UK must be at least £200.”

If your rule has more than one condition, decide whether ALL conditions must match or whether ANY one condition is enough. See match type.

Steps

1. Install Nex Validator

If Nex Validator is not installed yet, install it from the Shopify App Store and approve the required permissions. If it is already installed, skip to the next step.

2. Create an Advanced Rule. From the dashboard, go to Advanced Rules and click Create Rule. Enter a clear title for the rule.

3. Add your Conditions. Choose the condition that decides when the rule should apply. Select the Condition, choose the Operator, and enter the Value. To add another condition, click Add new condition.

4. Set the Match type. Choose how your conditions should work together. Select All conditions must match when every condition needs to be true. Select Any condition must match when at least one condition can be true.

5. Set the Action. Choose what should happen when the conditions match. Select the required Action and enter the Default Message that customers should see when the rule blocks their order.

6. Add translations if needed. If your store uses multiple languages, enable Multilingual Messages, select a language, and enter the translated message. If you do not need translations, skip this step.

7. Activate and save the rule. Set the rule Status to Active and save your changes. The Advanced Rule will now apply when its conditions are matched.

Verify it worked

TestExpected result
Conditions match, but the order breaks the limitOrder is blocked and the message appears
Conditions match and the order follows the limitCustomer can continue
Conditions do not matchAdvanced Rule does not apply
Test the exact limit valueIt behaves the way you intended

Important: Always test at least one order where the conditions do NOT match. This confirms the rule is not applying too broadly.

Keep them readable

Give every Advanced Rule a clear title that explains what it does.

  • Good: “Minimum £200 outside UK”
  • Avoid: “Advanced rule 3”

If a temporary rule is no longer needed, disable it so your rule list stays easy to manage. Active rules also count toward Shopify’s validation limit — see limits.

Frequently asked

Can one advanced rule hold several conditions?

Yes, and the match type decides whether all must be true or any one of them.

How do I check a rule is matching at all?

Test a cart you are certain should match. A condition that never matches looks exactly like a disabled rule, so prove the match before debugging the limit.

Do advanced rules count toward the 25-validation cap?

Yes. Every active rule does, regardless of which builder made it.

See also: Conditions · Match type · Multilingual messages