Sample teardown · real store, anonymizedTeardown sample

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.

How to read this

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.

01 · Baseline

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.

02 · Findings

What the dig surfaced.

  1. 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.
  2. 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.
  3. 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.
  4. 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.
  5. 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.
On your teardown

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.

03 · The fix delivered

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.

cart-drawer.liquid
<!-- 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.

04 · Roadmap

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.

  1. 01

    Build pipeline

    Vite with module resolution, tree-shaking and code splitting per template, replacing manual bundling.

  2. 02

    jQuery removal

    Three passes, prioritized by template traffic.

  3. 03

    Core components

    Cart drawer, product page variant logic, search and quick view rebuilt as Alpine.js components.

  4. 04

    App consolidation

    Every app audited; underused and duplicate apps consolidated or removed.

  5. 05

    Performance budget

    Enforced at build time so regressions cannot ship.

  6. 06

    Phased rollout

    New theme on a parallel published theme, validated section by section against live traffic.

05 · Results

What the roadmap delivered.

Mobile LCP improvement
1.8s

Across the highest-traffic templates: product, collection and home.

Legacy JavaScript removed
280KB

jQuery and legacy framework code eliminated across the theme.

Product page first-load JS
62%

About 62% reduction. Pages that are not product pages no longer load product page code.

Apps audited
40+

The final stack is the apps the business actually runs on.

What we don't claim
No revenue-lift claim attached.

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.

Read the full case study →

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 →