Test a discount before customers get it
Two tools on a discount’s page help you check it before customers see it:
- Testers only, under Status: the discount goes only to customers tagged
test, so you can try it at checkout yourself. - Test cart, at the bottom of a saved discount: pick items, a customer and where the order ships, and see what each line costs at checkout, or why the discount didn’t apply.
Every discount type has both, except code rules.
Try it at checkout with Testers only
Section titled “Try it at checkout with Testers only”- In Shopify admin → Customers, open your own customer (or add one with your email) and add the tag
test. - Open the discount in Checkout Buddy. Under Status, keep it Enabled and tick Testers only. Click Save.
- On your store, add items to the cart and check out with that customer’s email, or log in as them. The discount applies. Other customers don’t get it.
- When it’s ready, untick Testers only and save. The discount then goes to the customers chosen under Eligibility.
Customizations shows a discount in test mode as Testers only.
Things to know
Section titled “Things to know”- The testers segment. The first time you use Testers only, Checkout Buddy adds a Shopify customer segment named Checkout Buddy testers: customers tagged
test. Every discount in test mode uses it. To pick testers another way, edit the segment in Shopify admin → Customers → Segments. - Shopify matches by email too. Anyone who types a tester’s email at checkout gets the discount, as with any segment.
- A customer you just tagged can take a minute or two to count.
- Turning it on for a live discount: customers who already had the discount in their checkout can keep it for a few minutes.
- It’s still on. An automatic discount in test mode still uses one of your store’s 25 automatic discount slots.
- Product offers don’t count a discount in test mode as making their gifts free.
Price a made-up cart with the Test cart
Section titled “Price a made-up cart with the Test cart”- Open a saved discount. At the bottom, in Test cart, click Open test cart.
- Click Add products and set the quantities.
- Search for a customer, or leave it as a guest. Search
tag:testto find your testers. - Pick where the order ships (and its province or state, for countries where checkout asks for one), and type any discount codes. A code discount fills in its own code. If the result says Shopify has no shipping rate there, your store doesn’t ship to that province or state: pick another.
- Click Price this cart.
Shopify prices the cart the way checkout does, with every discount that’s on, not only this one. You see:
- whether this discount applied, and what it took off,
- each item’s price, its discounts and its total,
- order discounts, shipping (the cheapest rate, or another you pick), taxes and the total,
- the other discounts that applied, and anything Shopify flagged, such as a code it couldn’t use.
Why it didn’t apply
Section titled “Why it didn’t apply”When the discount gives nothing, the Test cart says why, when it can be sure:
- it’s turned off, or outside its active dates,
- Testers only is on and the customer isn’t a tester (or is a guest),
- it’s only for some customer segments, and the customer isn’t in them,
- it’s only for some markets, and the cart ships somewhere else,
- it’s a code discount, and its code isn’t in the cart.
If none of those is it, the reason is in the discount’s own settings: its items, its minimums or tiers, or its conditions. Compare them with the cart, using the discount’s Summary. If another discount applied that doesn’t combine with this one, Shopify may have applied that one instead.
What the Test cart can’t show
Section titled “What the Test cart can’t show”Shopify runs your discounts on the test cart the same way as at checkout: the same items and prices, customer, country and market (with its currency), codes, shipping rate and other discounts. A few things only exist at a real checkout, so a discount that reads them can price differently here. When a discount reads one, the Test cart lists it at the top of the card:
- items a Product offer or checkout block adds, such as gifts, and other line item properties,
- cart attributes and the order note, which checkout forms and blocks fill in,
- subscriptions,
- B2B company buyers,
- the address lines, ZIP code, city, company and phone (the Test cart has the country and province),
- point of sale, pickup and local delivery, and the payment method,
- whether the customer is signed in: the Test cart’s customer counts as signed in, while a buyer who only types their email at checkout doesn’t.
For those discounts, try them at checkout with Testers only.
Things to know
Section titled “Things to know”- It tests the saved discount. Save your changes first to test them.
- A discount you just made or changed can take Shopify a minute or two to apply.
- Real customers, real prices. The customer’s segments and the country’s market and prices count, as at checkout.
- Why Checkout Buddy asks for access to draft orders. The Test cart has Shopify calculate a draft order, which is how it gets checkout’s prices. It never saves one: no draft order or order is made. Shopify asks you to approve this access once, when you open the app after the update.
