Skip to content

All Conditions Reference

This page lists every condition available in Payflow. For detailed explanations and use cases, see the individual condition category pages.

ConditionKeyOperatorsDetails
Total amounttotalAmount≥, ≤Total customer pays (incl. shipping + tax)
Subtotal amountsubtotalAmount≥, ≤Cart subtotal before shipping
Total weighttotalWeight≥, ≤Combined weight in kg
Total quantitytotalQuantity≥, ≤, ==, !=Sum of all item quantities
ProductproductItemIs one of, Is not any ofSpecific products in cart
Product variantproductVariantIs one of, Is not any ofSpecific variants in cart
Product tagproductTagIs one of, Is not any of, Tag contains text, Tag excludes textScope: any / all / no items
Product tag – all itemsallProductTagIs one of, Is not any ofLegacy — use productTag instead
CollectionproductCollectionIs one of, Is not any ofAny item in collection
Product variant titleproductVariantTitleIs one of, Is not any of, Text contains, Text does not contain, Is empty, Is not emptyVariant title text
Contains subscriptioncontainsSubscriptionIs true, Is falseSelling plan items

Cart & Order conditions


ConditionKeyOperatorsDetails
Variant SKUvariantSkuIs one of, Is not any of, Text contains, Text does not contain, Is empty, Is not emptySKU of any variant in cart
Product vendorproductVendorIs one of, Is not any of, Text contains, Text does not contain, Is empty, Is not emptyBrand/supplier
Product typeproductTypeIs one of, Is not any ofShopify product type field
Contains gift cardisGiftCardIs true, Is falseGift card item in cart
Requires physical shippingrequiresShippingIs true, Is falsePhysical vs digital items
Line item pricelineItemPrice≥, ≤, ==, !=Unit price of any line item
Line item compare-at pricelineItemCompareAtPrice≥, ≤, ==, !=, Is empty, Is not emptySale / was-price
Cart attributecartAttributeIs one of, Is not any of, Text contains, Text does not contain, Is empty, Is not emptyCustom cart attributes by key
Line item propertylineItemPropertyIs one of, Is not any of, Text contains, Text does not contain, Is empty, Is not emptyCustom attribute on a cart line
Product metafieldproductMetafieldIs one of, Is not any of, Text contains, Text does not contain, Is empty, Is not emptyProduct metafield value
Variant metafieldvariantMetafieldIs one of, Is not any of, Text contains, Text does not contain, Is empty, Is not emptyVariant metafield value

Product Attribute conditions


ConditionKeyOperatorsAvailability
Shipping countryshippingCountryIs one of, Is not any ofPayment + Delivery
State / provinceprovinceCodeIs one of, Is not any ofPayment + Delivery
Shipping cityshippingCityIs one of, Is not any of, Text contains, Text does not containPayment + Delivery
Shipping postcodeshippingPostcodeIs one of, Is not any of, Text contains, Text does not containPayment + Delivery
First namefirstNameIs one of, Is not any of, Text contains, Text does not contain, Is empty, Is not emptyPayment + Delivery
Last namelastNameIs one of, Is not any of, Text contains, Text does not contain, Is empty, Is not emptyPayment + Delivery
Address line 1address1Is one of, Is not any of, Text contains, Text does not contain, Is empty, Is not emptyPayment + Delivery
Address line 2address2Is one of, Is not any of, Text contains, Text does not contain, Is empty, Is not emptyPayment + Delivery
CompanycompanyIs one of, Is not any of, Text contains, Text does not contain, Is empty, Is not emptyPayment + Delivery
PhonephoneIs one of, Is not any of, Text contains, Text does not contain, Is empty, Is not emptyPayment + Delivery
Shipping method nameshippingMethodIs one of, Is not any of, Text contains, Text does not containPayment only
Shipping typeshippingTypeIs one of, Is not any ofPayment only

Shipping Address conditions


ConditionKeyOperatorsNotes
Customer tagcustomerTagIs one of, Is not any of, Text contains, Text does not containCustomer account tags
Customer is B2BcustomerB2BIs true, Is falseShopify Plus
Cart attribute B2BattributeB2BIs true, Is falseCustom storefront flag
Buyer is authenticatedbuyerIsAuthenticatedIs true, Is falseLogged-in status
Buyer emailbuyerEmailIs one of, Is not any of, Text contains, Text does not contain, Is empty, Is not emptyEmail at checkout
Customer account emailcustomerEmailIs one of, Is not any of, Text contains, Text does not contain, Is empty, Is not emptyRequires login
Customer first namecustomerFirstNameIs one of, Is not any of, Text contains, Text does not contain, Is empty, Is not emptyRequires login
Customer last namecustomerLastNameIs one of, Is not any of, Text contains, Text does not contain, Is empty, Is not emptyRequires login
Customer display namecustomerDisplayNameIs one of, Is not any of, Text contains, Text does not contain, Is empty, Is not emptyName, email, or phone
Customer IDcustomerIdIs one of, Is not any ofShopify customer ID
Lifetime spendcustomerAmountSpent≥, ≤Requires login
Number of orderscustomerNumberOfOrders≥, ≤, ==, !=Requires login
Customer metafieldcustomerMetafieldIs one of, Is not any of, Text contains, Text does not contain, Is empty, Is not emptyRequires login
B2B company nameb2bCompanyNameIs one of, Is not any of, Text contains, Text does not contain, Is empty, Is not emptyShopify Plus

Customer conditions


ConditionKeyOperators
Discount amountabsoluteTotalDiscountExShippingAndTaxesHas discount, No discount, ≥, ≤
Discount percentagetotalDiscountExShippingAndTaxesPercentageHas discount, No discount, ≥, ≤, ==, !=

Discount conditions


ConditionKeyOperators
Shopify MarketshopifyMarketIs one of, Is not any of
Checkout languagelanguageIs one of, Is not any of

Localization conditions


ConditionKeyOperatorsNotes
AlwaysalwaysApplies to every checkout
Payment methodpaymentMethodIs one of, Is not any of, Text contains, Text does not containPayment Instructions only

Special conditions


OperatorMeaning
At least (≥)Value is greater than or equal to
At most (≤)Value is less than or equal to
Is (==)Value exactly equals
Is not (!=)Value does not equal
Is one ofValue matches any item in the list
Is not any ofValue matches none of the items in the list
Text containsValue contains the text (partial match)
Text does not containValue does not contain the text
Tag contains textTag includes the substring (partial match)
Tag excludes textTag does not include the substring
Is emptyNo value is set
Is not emptyA value is set
Is trueBoolean is true
Is falseBoolean is false
Has discountAny discount is applied
No discountNo discount is applied