What a teardown
looks like.
One real store, start to finish: a $1M+/month wellness brand on Shopify. Every number on this page is that store's own before and after measurement. The structure is exactly what you receive for yours.
This store's fixes shipped during a multi-phase theme modernization, with engineering led by Sergio Herrera as Lead E-commerce Developer at the brand. We wrote it up in teardown format so you can see the depth before you book. On your store, the dig takes ten days and one fix ships inside it.
Where the store started.
Profitable, growing and operating at scale. But four years of patches had turned the theme into a tax on every decision.
- Store
- $1M+/month DTC wellness brand on Shopify
- Theme
- Vintage-era theme with four years of patches and no build system
- Mobile load
- Page loads had crept past 5 seconds
- Product page JavaScript
- 280KB of legacy JavaScript before any product code ran
- Apps
- 40+ installed and partially uninstalled
- Cart drawer
- Three code paths from three past developers
Before and after figures use the same Lighthouse mobile profile, the same network throttling and the same Chrome version.
What the dig surfaced.
- 01
Legacy JavaScript loads before the product does.
- Where it lives
- Theme assets: hand-bundled, manually minified scripts and jQuery spread across templates.
- What it measures
- 280KB of legacy JavaScript on the product page before any product code runs.
- The fix
- A Vite build with per-template code splitting, and jQuery replaced by Alpine.js in three passes, highest-traffic templates first.
- 02
App sprawl with no extension points.
- Where it lives
- 40+ apps, installed and partially uninstalled, each injecting code wherever it could.
- What it measures
- Every new conversion app launch means bracing for which existing flow it will break.
- The fix
- Audit every app, consolidate or remove the underused and duplicate ones, and integrate the rest through defined section extension points.
- 03
A cart drawer nobody can safely change.
- Where it lives
- Cart drawer: about 600 lines of jQuery and untracked event listeners across three code paths.
- What it measures
- Nobody on the team was certain which code path was firing in production.
- The fix
- One Alpine.js component, about 50 lines of declarative state, updating through Shopify's section rendering API.
- 04
Templates the merch team cannot compose.
- Where it lives
- Vintage-era templates built before Online Store 2.0 sections.
- What it measures
- The merch team cannot compose pages in the editor, and apps monkey-patch templates instead of plugging into defined extension points.
- The fix
- Online Store 2.0 sections with strict block schemas, so the team builds pages in the editor without touching code.
- 05
Nothing stops the store from getting slow again.
- Where it lives
- No build process, so no performance budget.
- What it measures
- Nothing checks bundle weight, so a JavaScript regression can ship unnoticed.
- The fix
- A performance budget enforced at build time: a build that breaks it fails, so JavaScript regressions never ship.
Every finding also carries an effort estimate and the revenue arithmetic, worked out from your own traffic and conversion rate. We leave those out here because they would expose this brand's private numbers.
One fix, shipped.
The cart drawer's three competing code paths became a single Alpine.js component: about 50 lines of declarative state replacing about 600 lines of jQuery and untracked event listeners.
<!-- After: 50 LOC, declarative, accessible -->
<div x-data="cartDrawer()" x-cloak>
<button
@click="open = true"
:aria-expanded="open">
Cart ({{ cart.item_count }})
</button>
<div
x-show="open"
x-transition
@click.away="open = false">
<template x-for="item in items" :key="item.key">
<!-- line item -->
</template>
</div>
</div>The full component shipped with keyboard handling, accessibility and cart updates through Shopify's section rendering API, without a page reload. In your teardown, the fix we ship is the highest-return item on your list, sent as a merge-ready diff with a dev store where you can see it running.
The prioritized next moves.
The constraint behind the order: zero downtime, zero lost product pages and no regressions visible to customers while the new foundation came online.
- 01
Build pipeline
Vite with module resolution, tree-shaking and code splitting per template, replacing manual bundling.
- 02
jQuery removal
Three passes, prioritized by template traffic.
- 03
Core components
Cart drawer, product page variant logic, search and quick view rebuilt as Alpine.js components.
- 04
App consolidation
Every app audited; underused and duplicate apps consolidated or removed.
- 05
Performance budget
Enforced at build time so regressions cannot ship.
- 06
Phased rollout
New theme on a parallel published theme, validated section by section against live traffic.
What the roadmap delivered.
Across the highest-traffic templates: product, collection and home.
jQuery and legacy framework code eliminated across the theme.
About 62% reduction. Pages that are not product pages no longer load product page code.
The final stack is the apps the business actually runs on.
This was foundational work, not a CRO intervention. Its job was to remove the technical tax that had been blocking every test and app integration the team wanted to ship.
Your next three steps.
Every teardown ends with three concrete moves, scoped and priced for your store. These are the three routes they usually take.
Keep shipping on a monthly plan
One senior engineer works through the roadmap, one request at a time. Plans from $1,500 a month.
See the plans →02Scope the rebuild as a project
When the roadmap points to a rebuild, it becomes a fixed-fee, milestone-based project, from $8,000.
Ask about a project →03Hand the roadmap to your team
Every item is scoped enough for any developer to pick up, including one who isn't us.
What a teardown includes →Want one on your store?
$2,500 fixed. Credits 100% toward a plan or project within 90 days.
Book a teardown →Not ready for the full audit? Get a free Black Friday post-mortem →