Commerce · Escale OnlineLive
Commerce network
Multi-Store Medusa v2 Commerce Backend
Four print-on-demand storefronts running on one shared Medusa v2 backend and one Astro storefront template, synced nightly to ERPNext.
stack: Medusa v2 · Astro · Stripe & Stripe Tax · Printful · Telnyx · Cloudflare Workers · Google & MS Merchant Center · ERPNext
01 / Problem
The problem
Operating four niche print-on-demand brands on separate stacks multiplies maintenance across storefront code, Stripe tax setup, Printful fulfillment, ad feeds, phone support, and accounting.
02 / Architecture
The build
- Shared Medusa v2 backend and single Astro storefront template serving Patriot Merch, Truth Veteran, AI Print Works, and Shop Pet Direct.
- Separate Stripe account per store with Stripe Tax, automatic Printful fulfillment submission, bulk catalog import, and double opt-in newsletters.
- Dedicated toll-free number per store routed through Telnyx and a Cloudflare Worker, plus Google and Microsoft Merchant Center feeds (Google Ads Shopping launched November 2026).
- Nightly bookkeeping pipeline syncing five Stripe accounts into a self-hosted ERPNext ledger, paired with 524 AI-generated lifestyle product photos.
03 / Diagram
System schematic
04 / Scope
Status & scale
Status
Live (Oct 2026)
Architecture
4 stores on 1 backend
Imagery
524 AI lifestyle photos
Bookkeeping
5 Stripe accts → ERPNext
05 / Stack
Components
- Medusa v2
- Astro
- Stripe & Stripe Tax
- Printful
- Telnyx
- Cloudflare Workers
- Google & MS Merchant Center
- ERPNext
06 / Writing
Related writing
- Medusa JS in production: four stores, one Medusa v2 backend and the trade-offsHow four storefronts run one Medusa JS (v2) backend image with isolated databases, a custom Stripe Tax provider and a catalog sync that survives failure.
- Tiered pricing with Rust and WebAssembly Shopify FunctionsHow Shopify Functions run tiered cart pricing as a Rust Cart Transform in WebAssembly, how the runtime limits shape the code, and what breaks in the theme.
- Color families from supplier chaos: AI classification with a review queueHow a color-filter app maps supplier color names to storefront families with text and vision models, and why uncertain answers go to a human.
- Print-ready product customizers on Shopify: canvas, output files and the two-pass fixHow a Shopify customizer turns shopper designs into PNG, PDF and DXF production files, sends them over SFTP, and why selection handles vanish.
- Shopify to Medusa: what a real migration analysis coversWhat a Shopify to Medusa v2 analysis must contain: a feature map, a build ledger, phases, tax, and the risks that decide whether to migrate at all.