Section M — Total Order Summary QA · PeptideScience
trypeptidescience.com/checkout/ · run 20260828-1047 ·
tools/qa/order_summary_qa.py --brand peptidescience · seeded cart = Root Activator ×2 + Wrinkle Activator ×1 ($194.97)117/117 PASS · 0 fail · 3 devices
Use cases covered
- Mount & replace — one summary, in the old "Your Cart" slot (first block of the form column, above Express Checkout); Your Cart section, native Item/Amount table and Edit-your-cart link all gone.
- Default state — collapsed on mobile, open on desktop; bar reads "TOTAL ORDER SUMMARY" + arrow only (no SHOW/HIDE); total in the bar; no orphan "/" while 29next retail prices are null.
- Toggle — tap/click flips open/closed with
aria-expanded. - Per-line mapping — each line shows its own thumbnail, product line (Root vs Wrinkle Activator) and quantity; line totals sum to the bar total.
- Removal — Remove under each price drops the line, recomputes the bar total, updates the 29next SDK cart state AND the cart drawer's storage; survives a reload; zero page errors.
- Empty state — removing the last line shows a single "Your cart is empty" with a Shop link; bar reads $0.00; express buttons still rendered (no dead controls).
- Addition —
next.addItemshows a new line live without reload, mapped to the right product; a second product adds a second line; adding the same package again merges into Qty (no duplicate line). - ?pkg selector mode — picker stays visible with the summary directly under it; ?pkg=7 → Root Activator $64.99, ?pkg=8 → Wrinkle Activator $64.99; Change → pick Full Treatment updates the summary to $99.99.
- CRO floors — title ≥16px, product line ≥14px, Remove ≥32px tall at 5.66:1, bar ≥44pt, no horizontal overflow.
Results matrix
| Case | iPhone 390 · WebKit (Safari) | iPhone 390 · Chromium (Chrome-iOS proxy) | Desktop 1280 |
|---|---|---|---|
| M1 summary mounted (exactly one) | ✓ | ✓ | ✓ |
| M2 mounted in the Your Cart slot (first visible block of the form column) | ✓ | ✓ | ✓ |
| M3 old Your Cart section hidden | ✓ | ✓ | ✓ |
| M4 native Item/Amount table gone | ✓ | ✓ | ✓ |
| M5 no Edit-your-cart link | ✓ | ✓ | ✓ |
| M6 zero page errors on load | ✓ | ✓ | ✓ |
| M7 default state: collapsed on mobile / open on desktop | ✓ | ✓ | ✓ |
| M8 bar label is arrow-only (no SHOW/HIDE verb) | ✓ | ✓ | ✓ |
| M9 bar total = seeded cart total | ✓ | ✓ | ✓ |
| M10 no orphan slash when retail is null | ✓ | ✓ | ✓ |
| M11 bar toggles + aria-expanded follows | ✓ | ✓ | ✓ |
| M12 one card per cart line | ✓ | ✓ | ✓ |
| M13 each line shows ITS product line | ✓ | ✓ | ✓ |
| M14 each line shows ITS thumbnail | ✓ | ✓ | ✓ |
| M15 each line shows ITS quantity | ✓ | ✓ | ✓ |
| M16 line totals sum to bar total | ✓ | ✓ | ✓ |
| M17 no horizontal overflow | ✓ | ✓ | ✓ |
| M18 CRO: title ≥16px, line ≥14px | ✓ | ✓ | ✓ |
| M19 CRO: Remove ≥32px tall, ≥4.5:1 | ✓ | ✓ | ✓ |
| M20 CRO: bar ≥44pt tap target | ✓ | ✓ | ✓ |
| M21 Remove drops the line + bar total recomputes | ✓ | ✓ | ✓ |
| M22 SDK cart state matches | ✓ | ✓ | ✓ |
| M23 drawer storage mirrors the removal | ✓ | ✓ | ✓ |
| M24 no page errors after remove | ✓ | ✓ | ✓ |
| M25 removal persists across reload | ✓ | ✓ | ✓ |
| M26 empty state after removing all (single message, links to shop) | ✓ | ✓ | ✓ |
| M27 bar total $0.00 when empty | ✓ | ✓ | ✓ |
| M28 no dead express buttons (still rendered) | ✓ | ✓ | ✓ |
| M29 addItem shows a new line live (no reload) with the right product | ✓ | ✓ | ✓ |
| M30 second product adds a second line, mapped correctly | ✓ | ✓ | ✓ |
| M31 adding the same package again merges into Qty (no duplicate line) | ✓ | ✓ | ✓ |
| M32 no page errors after adds | ✓ | ✓ | ✓ |
| M33 ?pkg=7: selector visible, summary directly after it | ✓ | ✓ | ✓ |
| M34 ?pkg=7: one line, right product + price | ✓ | ✓ | ✓ |
| M35 ?pkg=7: no page errors | ✓ | ✓ | ✓ |
| M36 switching tier in the selector updates the summary total | ✓ | ✓ | ✓ |
| M33 ?pkg=8: selector visible, summary directly after it | ✓ | ✓ | ✓ |
| M34 ?pkg=8: one line, right product + price | ✓ | ✓ | ✓ |
| M35 ?pkg=8: no page errors | ✓ | ✓ | ✓ |
How it looks


















Known, not a defect: the struck retail price in the bar/cards appears only once packages carry a retail (compare) price in 29next — currently null on all PS packages (the Save-0% retail-null item).