Reading path: Ecommerce & Shopify Testing
Test a discount code against its written offer: eligible products, customer conditions, minimum spend, combination rules, active dates, and the final cart total. Cover both valid and invalid cases in an approved test environment. A code appearing in checkout does not by itself prove that the promotion is calculated correctly.
Turn the offer copy into explicit expected calculations.
Test threshold boundaries and cart changes after applying the code.
Verify scheduling in the store’s configured time zone.
Start With The Exact Offer Customers Will See
Holiday promotions often spread one offer across a banner, email, product page, and checkout. Begin by writing a single specification that those surfaces must match. For a fictional campaign: SAVE15 gives 15% off eligible accessories when the qualifying merchandise reaches USD 100; delivery remains separate; excluded products do not qualify. These are example terms, not Shopify defaults.
List the approved product variants, test customer states, supported currency, dates, and exclusions. Ask the offer owner to resolve ambiguity before testing. “Spend 100” needs a defined basis: which products count and which prior discounts affect the threshold? Without that definition, two testers can calculate different answers and both believe the code is broken.
Check Platform Rules Before Writing Expected Results
Shopify documents product, order, and shipping discount classes, with eligibility and configuration rules for combinations. Do not assume that two individually valid codes must stack. Confirm the settings and relevant plan or merchant restrictions in the current help documentation. A deliberate restriction should appear clearly in campaign terms.
Shopify also explains that amount-off discount schedules follow the store’s configured time zone. Test the campaign against that configuration rather than the tester’s laptop clock. Its minimum-purchase documentation distinguishes product and order discount rules; use the section that applies to your exact offer.
Sources: Shopify: Combining discounts · Shopify: Amount off discounts
Use A Small Calculation You Can Inspect
For the fictional SAVE15 offer, a qualifying merchandise amount of USD 120 gives a discount of USD 18 and leaves USD 102 before separately specified shipping and taxes. This example establishes only a simple merchandise calculation. It does not predict tax treatment, exchange rates, app behavior, or every platform’s ordering of adjustments.
Record the original item prices, quantities, eligible subtotal, discount amount, and displayed total. When there is a discrepancy, retain each component. A screenshot of a final number without the cart contents is difficult to reproduce. Use platform receipts or authorized order records when the test includes a completed test transaction.
Test Just Below, At, And Above The Threshold
Use boundary values to reveal inconsistent eligibility. Then repeat after changing the cart: remove an eligible item, increase quantity, add an excluded product, and switch a variant. The code should recalculate according to the written offer. A success state that survives after the cart loses eligibility deserves investigation.
The following matrix uses the fictional campaign’s rules. Replace the expected outcomes with your approved specification before running it.
| Test cart or state | Expected check | What to capture |
|---|---|---|
| USD 99.99 qualifying subtotal | Offer does not meet the USD 100 threshold | Eligibility message |
| USD 100 qualifying subtotal | Threshold is met | Applied amount and line items |
| USD 120 qualifying subtotal | USD 18 merchandise discount | Calculation components |
| Excluded item added | Eligibility follows approved exclusions | Eligible versus total subtotal |
| Eligible item removed | Discount recalculates or is removed | Before and after cart |
| Second code added | Configured combination rule is respected | Both offers and final result |
Review Errors And Recovery On Mobile
Enter an invalid code, an expired code, and a valid code for an ineligible cart. The message should explain the next useful action without losing the cart. Check whether a visitor can edit the code, remove it, or return to shopping. Avoid error text that says only “failed” when a specific eligibility condition is available.
On mobile, check whether the discount field is discoverable, the keyboard obscures the response, or the updated order summary sits off screen with no useful feedback. Review keyboard focus and assistive-technology announcements separately. A successful pointer click is not a complete accessibility assessment.
Keep The Promotion Check Separate From A Full Checkout Test
Run the promotion matrix after changing a discount app, cart drawer, theme, or relevant pricing configuration. Keep one known-good cart as a regression case. Also verify the displayed offer on campaign landing pages and linked messages so a calculation fix does not leave misleading copy elsewhere.
Use Cohorvix for a focused public-page or authorized browser journey review within its supported scope. For payment, taxes, inventory, and final order records, add the appropriate sandbox and backend checks. Preserve test-order cleanup responsibilities and a release owner. A passed sample does not establish that every currency, customer segment, or combination was covered.
- Offer wording matches the configured promotion.
- Threshold and exclusion cases have expected calculations.
- Cart edits trigger the correct recalculation.
- Combination behavior matches the approved terms.
- Start and end boundaries use the correct store time zone.
- Mobile error recovery and final test records are reviewed.
Common Questions
What should I test first when a discount code does not work?
Check its active period, eligible items, customer conditions, minimum-purchase basis, and combination settings against the written offer.
Should I test the discount again after editing the cart?
Yes. Removing or changing eligible items can alter both eligibility and the discount amount.
Can I test without making a real purchase?
Many cart checks stop before purchase. Use an authorized sandbox or platform-supported test-order method when final order verification is needed.
Sources & Further Reading
The checklists and examples are Cohorvix’s suggested workflows. References support the specific technical guidance described above; they do not endorse Cohorvix.
- Shopify: Combining discounts
Official combination classes and eligibility guidance checked November 3, 2026.
- Shopify: Amount off discounts
Official scheduling and minimum-purchase guidance. The SAVE15 campaign and arithmetic are fictional worked examples.
Published by Cohorvix Editorial with AI assistance. Product scope is described in Our Method. Educational guidance is not a full accessibility, security, or performance audit.
Put The Guide To Work
Choose a focused next step for your product.




