Skip to content

Display Rules

Want to show a upsell only to customers spending over $100? Or display a trust badge only for orders shipping to the EU? Display rules let you do exactly that. Each extension only appears when the conditions you define are met.

When display rules are set, the extension is only shown if all conditions pass at the time the page loads. If any condition fails, the extension is hidden automatically.

You can choose between two matching modes:

  • All must match (AND) means every condition must be true before the extension shows
  • Any must match (OR) means at least one condition must be true

ConditionOperatorsDescription
ProductContains any of, Contains none ofMatch specific products by name (product picker)
Product TypeContains any of, Contains none ofMatch by product type (e.g. “Apparel”)
Product TagContains any of, Contains none ofMatch by product tag
Product VendorContains any of, Contains none ofMatch by product vendor/brand
ConditionOperatorsDescription
Cart TotalEquals, Not equals, Greater than, Less than, ≥, ≤Match on the total cart value including discounts
Cart SubtotalEquals, Not equals, Greater than, Less than, ≥, ≤Match on the subtotal before discounts
Cart QuantityEquals, Not equals, Greater than, Less than, ≥, ≤Match on total number of items in the cart
Cart Contains DiscountTrue / FalseWhether any discount is applied to the cart
Cart Line PropertyEquals, Not equalsMatch a specific line item property key and value
ConditionOperatorsDescription
Customer Is NewTrue / FalseTrue if the customer has 0 previous orders
Customer Logged InTrue / FalseWhether the customer is signed into their account
Customer TagContains any of, Contains none ofMatch by customer tags set in Shopify admin
Customer Order CountEquals, Not equals, Greater than, Less than, ≥, ≤Match based on number of previous orders
Customer CompanyEquals, Not equals, Contains, Does not containMatch by company name on the customer account
Customer Is B2BTrue / FalseWhether the customer is purchasing as a B2B company
Customer EmailEquals, Not equals, Contains, Does not containMatch by customer email address
ConditionOperatorsDescription
First NameEquals, Not equals, Contains, Does not contain, Min length, Max length, Letters only, Letters & numbers onlyMatch on the shipping first name
Last NameEquals, Not equals, Contains, Does not contain, Min length, Max length, Letters only, Letters & numbers onlyMatch on the shipping last name
Address Line 1Equals, Not equals, Contains, Does not containMatch on address line 1
Address Line 2Equals, Not equals, Contains, Does not containMatch on address line 2
CityEquals, Not equals, Contains, Does not containMatch on shipping city
Province / StateEquals, Not equals, Contains, Does not containMatch on province or state code (e.g. “CA”)
CountryContains any of, Contains none ofMatch by country, select from a list of 50+ countries
Zip CodeEquals, Not equals, Contains, Does not containMatch on shipping postcode/zip
ConditionOperatorsDescription
MarketContains any of, Contains none ofMatch by Shopify Market (e.g. “EU”, “US”)
  1. Open any extension (e.g. a Banner, Upsell, or Survey).
  2. Scroll to the Display Rules section.
  3. Choose All must match or Any must match.
  4. Click Add condition.
  5. Choose a condition type and set the value.
  6. Repeat for additional display rules.
  7. Save.