New: Blockly Checkout Customizer is live — checkout rules, upsells & checkout analytics.Install free
HomeHelp CenterCheckout CustomizerCheckout rule basics

Checkout rule basics

Blockly Checkout Customizer Updated November 24, 2026

Every rule in Blockly follows the same pattern. If the checkout matches your conditions, then Blockly does something, such as showing a message, hiding a payment method or rejecting a discount code. This page covers the parts all rules share.

Find and manage your rules

Open Checkout rules in the app menu. The list shows every rule with its Name, Type, Criteria, Status, Last updated date and Action.

  • Use the tabs All, Checkout, Payment, Shipping and Discount to filter by type.
  • Click the search icon to find a rule by name.
  • Use the icons in the Action column (marker 3) to edit, duplicate or delete a rule. Validation and discount rejection rules also have an analytics icon that opens the rule's numbers. Shipping discount, Hide Dynamic Payment and discount rejection rules can't be duplicated.
  • Click Add a rule (marker 1) to create a new one.

Saved checkout links appear in their own Checkout link section below the table.

Checkout rules list with Active, Test mode and Draft rules
The Checkout rules list. Add a rule (1), each rule's status (2) and the action icons (3).

Rule name

Every rule starts with Rule name, which is "Internal only — customers won't see this." Pick a name that says what the rule does, such as "Block PO boxes" or "Hide COD over $500".

Conditions

The When should this rule run? card holds your conditions: "Add one or more conditions. The rule fires when they're met."

  1. Pick a condition. Conditions are grouped (Customer, Cart, Product, Market, Shipping address, Date and time), and you can search the list.
  2. Pick a Trigger (the operator), such as Is or Greater than.
  3. Enter the Value and click Add. Many conditions accept several values.
  4. To add another, click Add a condition.
Validation rule editor with the condition Customer email Is
A condition row has a Condition, a Trigger and a Value. The Rule summary and Preview on the right show the result.

A rule can have up to 3 conditions. When it has more than one, choose AND (all conditions must match) or OR (any condition can match). The choice applies to the whole rule.

Things to know:

  • Once you've picked a condition, only conditions that can work with it stay selectable. That's why some options turn grey as you add conditions.
  • Hour and Hour and weekday can be used by one rule of each type. If another rule of the same type already uses a time condition, these show as disabled.
  • Always ("Apply this rule across all conditions") is available in payment, shipping, shipping discount and discount rejection rules. It isn't available in validation rules.

Operators

Which operators you see depends on the condition.

OperatorUsed for
Is, Is notText and choice fields such as country, market, shipping method and new customer
Contains, Does not containProduct, SKU, tags, email, phone, address lines and ZIP code
Equals, Greater than, Less thanNumbers such as cart total, quantity, weight and customer total spent
Greater than or equal to, Less than or equal toCart total, cart subtotal, cart weight and collection value
Multiple ofCart quantity, for example to sell only in packs of 6
BetweenHour, weekday, and hour and weekday
Character count less than, Character count greater thanAddress lines, ZIP code, names and phone numbers
Is empty, Is not emptyAddress, company, phone, city, province and ZIP fields (validation rules only)
Regex (Beta)ZIP, email, phone, province, city and address lines

For Regex (Beta), wrap the pattern in / at the start and end. Example: /^[a-zA-Z0-9._%+-][email protected]$/.

Date and time conditions use your store's time zone.

Status: Active, Draft or Test mode

Each rule has a status, picked from the select at the top of the Rule summary card.

  • Active: "Runs for real customers at checkout."
  • Draft: "Saved, but not running yet."
  • Test mode: "Try this rule out without affecting real customers."

How to test a rule with Test mode

  1. Save the rule with the status Test mode.
  2. Open your store and start a checkout.
  3. Enter [email protected] as the checkout email.
  4. Fill in the rest of the checkout so it matches your conditions.

The rule only runs for checkouts that use the email [email protected]. Every other customer checks out as if the rule didn't exist. When you're happy with it, change the status to Active.

Warning

The app's own Test mode help says to check out "while signed in to Shopify admin". That isn't how it works. Only the email [email protected] triggers Test mode rules.

Note

Discount rejection rules only have Active and Draft. Cash on delivery rules ignore Test mode, so a COD rule saved in Test mode affects every customer.

Limits

  • Up to 3 conditions per rule.
  • Error and warning messages can be up to 255 characters.
  • Some conditions limit how many values you can add. For ZIP codes, you'll see "Limit reached. You can add up to n zip codes."
  • Shopify limits how much rule data one store can hold. At 80% of that limit, the rules list shows "You're close to the condition value limit". Remove rules or values you no longer need before adding more.

Turn all rules off at once

To pause every rule, go to Settings → App status and turn off Turn on Checkout rules. See Checkout settings.