Checkpost

Conditions reference

Every condition a Checkpost rule can check, and the operators each one supports. A rule blocks checkout when all (or any) of its conditions are true.

Cart

ConditionExample
Cart subtotalCart subtotal is less than 50
Cart total (incl. tax & shipping)Cart total (incl. tax & shipping) is greater than 1000
Total item quantityTotal item quantity is greater than 10
Number of different itemsNumber of different items is greater than 10

Products in cart

ConditionExample
Cart contains productsCart contains any product
Cart does not contain productsCart does not contain any product
Cart contains other products thanCart contains items other than any product
Quantity of any single cart lineQuantity of any single cart line (any product) is greater than 2
Quantity per product across variantsQuantity per product across variants (any product) is greater than 2
Quantity per variant across cart linesQuantity per variant across cart lines (any product) is greater than 2
Combined quantity of productsCombined quantity of products (any product) is greater than 5
Combined subtotal of productsCombined subtotal of products (any product) is less than 50

Customer

ConditionExample
Customer is logged inCustomer is not logged in
Customer is a B2B company buyerCustomer is a B2B company buyer
Customer tagsCustomer has any of tags
Customer's previous ordersCustomer's previous orders is exactly 0
Customer's lifetime spendCustomer's lifetime spend is less than 100
Email addressEmail address ends with any of
Phone numberPhone number is empty

Shipping address

ConditionExample
Has a shipping addressHas a shipping address
CountryCountry is any of
State / provinceState / province is any of
ZIP / postal codeZIP / postal code starts with any of
CityCity is any of
Address line 1Address line 1 contains any of
Address line 2Address line 2 contains any of
CompanyCompany is empty
First nameFirst name contains any of
Last nameLast name contains any of

Delivery

ConditionExample
Delivery method typeDelivery method type is any of
Delivery method nameDelivery method name contains any of

Market

ConditionExample
Market countryMarket country is any of
Storefront languageStorefront language is any of

Date & time

ConditionExample
Time of dayStore time is outside 09:00 and 17:00
Day of the weekDay is Saturday or Sunday
DateDate is between … and …

Cart attributes

ConditionExample
Cart attributeCart attribute "…" is any of
Compare two valuesCart attribute "…" is different from the shipping address line 1

Operators

Numbers and amounts

is greater than · is at least · is less than · is at most · is exactly · is not · is not a multiple of. Money is in your store currency and converted for other currencies.

Text

is any of · is none of · contains any of · contains none of · starts with any of · starts with none of · ends with any of · matches pattern · is longer than (characters) · is empty · is not empty. Matching ignores letter case and surrounding spaces; postal codes also ignore inner spaces. Patterns are case-insensitive regular expressions without lookarounds or backreferences.

Customer tags

has any of · has all of · has none of.

Product filters

Product conditions select cart lines by product tag, collection, specific products or variants, vendor, product type, SKU or gift card. A line matches when it matches any selected criterion.

Where messages appear

Top of checkout · Email field · Phone field · Address line 1 · Address line 2 · City field · Company field · ZIP / postal code field · State / province field · Country field.