← All case studies

Draft This case study is a draft and may change.

Shopify · Release engineering

Black Friday without the midnight scramble

Five front-end sale phases, layered discounts, and midnight launches nobody was awake to watch. I redesigned the release system, the discount engine, and the launch policy together.

Role: Designed and led · cross-functional with marketing leadershipWhen: Oct – Nov 2026

5 sale-phase themes switched hands-off, verify-only

Problem

Black Friday / Cyber Monday had five front-end phases. Patching each phase theme by hand invited misses, and sales launched at midnight Pacific with nobody watching the site for hours afterward. Discount logic was split across native discounts and a paid stacking app, with no control over sequencing.

Approach

  • Release system: one git branch per phase, each synced to its own unpublished Shopify theme. Production fixes cascade to every phase branch by merge, phases publish on a schedule, and a daily production-to-dev sync runs automatically. Added a per-theme “expected elements” QA checklist after a near miss.
  • Discount engine: built a custom Shopify Functions discount app that consolidates bulk pricing, sale percentages, gift-with-purchase, and code-stacking rules on “best discount wins” logic. Found and documented a platform limit (configurations over about 10 KB silently apply nothing) and kept configs under it. Proved every scenario on a development store first.
  • Launch policy: pitched marketing leadership on 9 PM PT launches and 8 AM PT sale ends, so themes, discounts, and countdowns switch together while the team is awake.

Outcome

  • The launch-time policy was adopted for every holiday 2026 promotion phase.
  • Phase switchovers became hands-off and verify-only, with no manual per-theme patching.
  • Hotfixes reach every phase theme by merge, and the sale sequence needed nothing reverted afterward.

Stack

Shopify Online Store themes with GitHub integration, git branching, Shopify Functions (JavaScript), and Shopify’s scheduled publishing.

Stack

  • Shopify themes
  • GitHub theme sync
  • Shopify Functions
  • JavaScript
  • Shopify launch scheduling