How to test Shopify discount codes with automatic discounts
Run the same cart twice. Record the merchandise subtotal with the automatic offer active, then add your code. Compare both discount lines and the new subtotal against your calculation.
One $100 itemBefore tax and shipping
- Without code
- $90
- With code
- $75
Check that the offers can combine
Open both discounts in Shopify. Check their dates, eligible products, customers and minimum purchase requirements. Confirm that the product discount allows order discounts and the order code allows product discounts.
This example assumes your store is eligible to combine a product discount with an order discount. Shopify applies the product discount first, then calculates the order discount on the reduced subtotal.
Run the cart with and without the code
Start a fresh cart with one eligible $100 item and an active automatic 10% product offer. The merchandise subtotal should be $90. Record the discount line and leave shipping and tax out of the comparison.
Keep the same variant and quantity and enter a combinable $15 order code. Subtract $15 from $90 for an expected total of $75. Check that both offers appear and record the amount shown for each.
Are Shopify discount codes case sensitive?
No. Shopify treats SAVE15 and save15 as the same code. If SAVE15 is the $15 order code in the example above, either spelling should bring the eligible $90 subtotal to $75.
If both spellings leave the cart at $90, check the code’s minimum spend and whether it can combine with the automatic discount. How Shopify applies discount codes to a cart
If the cart stays at $90
Check whether the code was accepted. Revisit the combination settings on both offers and check whether the discounted cart still meets the order code’s minimum spend. A code restricted to particular customers also needs an eligible shopper.
Test the boundary separately. If a product offer requires two units, repeat with one unit and with two. Record both subtotals so you can repeat the same check when the rules change.
Repeat the test after you edit an offer
Select a variant from your catalog and enter your code. Promos shows the two cart totals and the change in a single test. The free plan includes manual tests and one saved scenario.
View on the Shopify App Store