← Back to site
Demo diagnostic — not client work

Changed Files — Before → After

A summary of what changed between the broken before/ version and the fixed after/ version. The full line-by-line diff is on the Diff page.

Demo diagnostic — not real client work. This is a self-contained sample that shows the type of documentation included with the Shopify bug fix.

index.html (product page markup)

AreaBefore (broken)After (fixed)
ViewportNo <meta name="viewport">Added — correct mobile scaling
Cart count<span id="cart-count"> present but never updatedUpdated by JS on every add, with a bump animation
Variant buttonsButtons crammed on one line, no wrapSpaced pills via flex/gap/wrap
CTASingle low buttonFull-width button; on mobile the price sits on its own line directly above it
Cart drawerMarkup present but display:none, never openedSlide-in drawer + backdrop, line items, qty, subtotal, remove
FeedbackNoneToast confirmation ("Added to cart")

styles.css

script.js

Files in this proof pack

index.html Comparison / landing page (links both demos) before/index.html | styles.css | script.js Broken version (bugs intentional) after/index.html | styles.css | script.js Fixed version report/shopify-demo-diagnostic.md Diagnostic writeup (Markdown) report/shopify-demo-diagnostic.html Diagnostic writeup (styled HTML) proof-assets/screenshot-before-desktop.png 1440x1000 proof-assets/screenshot-before-mobile.png 390x844 proof-assets/screenshot-after-desktop.png 1440x1000 (cart drawer open) proof-assets/screenshot-after-mobile.png 390x844 proof-assets/diff.patch Full before->after code diff proof-assets/changed-files.md This file proof-assets/_capture.mjs Local Playwright screenshot script site-copy/shopify-proof-section.html Paste-ready landing-page section site-copy/shopify-proof-section.md Same content, Markdown site-copy/outreach-snippet.txt Short cold-outreach message README.md How to use this pack