How to test a Shopify discount code before launch

Typing the code into your own checkout once isn't a test. You're logged in, you're on a desktop, and you probably picked whatever product was handy. Here's the check that matches what your shoppers will actually do.

By Mark Barron, founder of CampaignCart QA ·

In short: check five settings in the admin, run a guest checkout in a private window with a promoted product on desktop and on your phone, check the discount to the cent, and do it again 24 hours and 1 hour before launch.

Part 1: The settings, in your Shopify admin

Part 2: Test the discount code in a guest checkout

Part 3: Check the maths before you look

Work out the expected discount first, so you're checking the checkout rather than trusting it.

CartCodeExpected discountDiscounted subtotal
1 × $85.0020% off$17.00$68.00
2 × $24.9915% off$7.50 ($49.98 × 15% = $7.497)$42.48
$60.00 eligible + $40.00 excluded25% off eligible items$15.00$85.00

Leave shipping and tax out of the sum: shipping discounts are a separate class in Shopify, so a product or order percentage code doesn't touch shipping. If the number is off, the "amount looks wrong" section lists the usual reasons.

Part 4: Recheck before launch

Testing the rest of your Shopify checkout

The same guest-checkout routine is a good general check of your checkout: shipping rates for a few addresses, any checkout apps you added for the sale, and your payment page loading. Shopify also has a test mode for payments if you need to go through payment itself. For discount codes, though, you don't need to pay. Everything you need to see is in the order summary.

Automate Parts 2 to 4

CampaignCart QA runs the guest checkout for your product and percentage code on desktop and mobile, works out the expected discount, compares it with what checkout showed, and keeps the screenshots. The Merchant plan rechecks before launch. US stores in USD and English, one-time products. Shipping and tax aren't checked; if checkout already shows them, the result stays Review.

Try 3 free checks

Sources