Triggers and conditions: choose when an offer shows
Set which orders show your offer. Pick products, add conditions, and learn which offer wins when two offers match.
A trigger tells the app which orders get your offer. You set it in the offer editor. A trigger has two parts. The first part is the product rule: which products must be in the order. The second part is optional conditions: extra checks on the order, the shipping country or the customer.
An offer shows only when the order passes both parts. Each page (checkout, post-purchase, thank you page) shows one offer at a time. Offers on different pages do not affect each other.
Set a trigger
- In the app, open your offer in the editor.
- In 1. Set a trigger, find Show upsell when customer orders:.
- Choose one product rule:
- Any product - every order matches.
- Any product except selected - every order matches, unless it contains one of the products you select. See below.
- Specific selected products - the order must contain at least 1 of the products you select.
- Products in selected collections - the order must contain at least 1 product that is in one of the collections you select.
- If you chose products or collections, select them.
- Optional: click Add condition to add an extra check. See the next section.
- Click Save in the bar at the top of the page. Then click Publish. Draft offers never show.
How "Any product except selected" works
You select the products you want to leave out. If the order contains at least 1 of them, the offer does not show. If the order contains none of them, the offer shows. The other products in the order do not matter.
Example: you select product X. An order with X and Y does not get the offer. An order with only Y gets the offer.
Add conditions
Click Add condition. The list has 4 sections.
Products
- Order has product of... - the order has (in) or has none of (not in) the products you pick.
- Order has product variant of... - the order has a line with (in) or a line without (not in) the variants you pick. This is not the same as the product check: with not in, the condition passes when at least one line in the order is outside your list.
- Line item title is... - a product title contains or does not contain the text you type. The match is case-sensitive.
- Line item price is... - the unit price of a line item is equal to, not equal to, greater than or less than a number.
- Line item selling type is... - the order has a line that is in or not in Subscription or One-time.
- Order has product quantity of... - the quantity of 1 product you pick is equal to, not equal to, greater than or less than a number.
Orders
- Order subtotal - the subtotal, without tax and shipping.
- Order total - the total, with tax and shipping.
- Order quantity - the total quantity across all line items.
- Number of line items - how many different lines the order has.
Shipping
- Restrict by country - the shipping country is or is not the country you pick.
Customer
- Customer is new or existing - the customer is or is not New or Existing. A customer with no earlier orders, and a guest, count as New.
- Customer tags - the customer has any of or has none of the tags you add. Tags ignore capital letters and spaces around the text. Customer tags is not available on checkout offers.
Number conditions have 4 operators: is equal to, is not equal to, is greater than and is less than. There is no "or equal" operator. To say "1 or less", use is less than 2.
How several conditions combine (AND / OR)
- Conditions in different groups are joined with AND. The order must pass every group.
- Conditions inside one group are joined with OR. The order must pass at least 1 of them.
- To add an OR condition, click Add condition inside a group. To add an AND group, use the Add condition button at the bottom of the AND: box.
Example: Order total is greater than 50 AND (Customer tags has any of "vip" OR Customer is new or existing is New). The order must be over 50, and the customer must be a VIP or a new customer.
What happens when 2 offers match the same order
The app shows only 1 offer per page. It checks your published offers in this order and stops at the first match:
- Offers set to Specific selected products.
- Offers set to Products in selected collections.
- Offers set to Any product except selected.
- Offers set to Any product.
- Automatic offers, if no other offer matched.
So a specific-product offer always wins over an Any product offer. This is true even if the Any product offer is older.
Inside the same group, the offer you created first wins. To change that order:
- On the app home page, click Priority (above the offer list).
- In Customize Upsell Priority, open the tab of the page you want.
- Drag the offers into the order you want. Higher offers show first.
- Click Save.
Priority works only inside 1 group above. It cannot put an Any product offer in front of a Specific selected products offer.
Common mistakes
- The offer is a draft. Only published offers are checked.
- Another offer wins. Check the order above and the Priority settings.
- "Not in" on products is strict. Order has product of... with not in passes only when every line in the order is outside your list.
- "Not in" on variants does not hide the offer for mixed orders. Order has product variant of... with not in passes when at least one line is outside your list. So an order with the excluded variant and one other product still gets the offer. To keep the offer away from orders with that variant, use Order has product of... with not in on the product, if all its variants can be excluded.
- The offer has the wrong page. Each page is checked on its own. An offer set for the thank you page never shows on post-purchase.
- A threshold in the wrong currency. Order total and subtotal use the amounts in your shop's main currency. See multi-currency.
- A text condition does not match. Line item title is... is case-sensitive.
- A customer tag condition on checkout. It never passes there. Use post-purchase or the thank you page.
To see why an offer did not show for an order, see Offer not shown.
FAQ
I want the offer to work on any order. What do I set? Choose Any product and add no conditions.
Can I hide the offer for buyers in one country, for example the UK? Yes. Click Add condition, then Restrict by country. Set is not and pick the country. The check uses the shipping country of the order. There is no condition for Shopify Markets or for the order currency.
How do I show an offer only when the order has a subscription product? Click Add condition, then Line item selling type is.... Set in and Subscription. To show it only when the order has no subscription, set not in and Subscription. For an offer that swaps a one-time product for a subscription, see swap to subscription.
How do I show offer Y only when the customer has 1 or less of product X? Set the product rule for the products you want. Then add Order has product quantity of..., pick product X, choose is less than and type 2. A customer with 0 of product X also passes.
How do I show an offer to customers with a tag? Add Customer tags, choose has any of and add the tag. To hide the offer, choose has none of.
Can 2 offers show for the same order? Not on the same page. Each page shows 1 offer. Different pages can each show 1 offer. To link offers across pages, use a funnel.
Can a customer see several products at once? A trigger picks 1 offer. What the offer contains is set in the offer itself. See offer design.
Does "Any product except selected" check the product I am offering? No. It checks only the products in the order, against the products you select in the trigger.
Can I use the same offer for all orders and also have special offers? Yes. Create a special offer with Specific selected products. Create a general offer with Any product. The special offer wins when its products are in the order. The general offer shows for all other orders.