
Yogateria
A headless Medusa and Next.js store for a Brazilian yoga and wellness retailer: six years of customers and orders migrated, every URL kept and pages about 3× faster.
The challenge
Yogateria sells yoga mats, meditation cushions, clothing and wellness products across Brazil. Over six years its WooCommerce store had collected four payment gateways, a page builder, a paid image optimiser and plugins for feeds, countdowns, back-in-stock alerts, a custom checkout and a one-way ERP connector. Each was a licence, an update risk and a source of slow pages, and simple changes needed a developer.
The move had to keep search rankings, customer accounts and six years of order history. Product URLs were nested under a WooCommerce-only "primary category" (a guessed scheme produced 122 wrong addresses in early tests), most profile addresses lacked house number, neighbourhood and CPF (about 87% would have been undeliverable), payments had to cover PIX, boleto and card, stock lives in Olist (Tiny) ERP, and the old store had to keep selling throughout.
Our solution
We treated the migration as an engineering project with acceptance tests, not a redesign. We audited the full 2.6 GB database dump, built re-runnable importers for the catalogue, customers, orders, coupons, reviews, pages and back-in-stock subscriptions, and used automated gates to prove that every live URL resolves, pages match the old design within pixel thresholds, and checkout and sign-in work end to end in a real browser.
The new store launched on a hidden subdomain beside the old one, then moved to the main domain. It runs on Medusa 2 and a server-rendered Next.js 15 storefront, with Meilisearch search, a Puck visual editor, Cloudflare R2 and image resizing, PagBank payments, two-way Olist ERP sync and Postmark e-mail. Twelve plugins and services were replaced by one platform.
- One payment provider (PagBank) for card, PIX and boleto, replacing four gateways
- Three-step Brazilian checkout with CPF validation and saved cards
- Two-way Olist (Tiny) ERP sync: orders out; status, tracking and stock back
- Every legacy URL preserved, plus a redirects manager
- Meilisearch: typo-tolerant search, facets and synonyms behind every grid
- Passwordless sign-in that links imported customers to their order history from 2020
- Delivery-date estimates from 90,000+ postcode ranges
- Promotions, price lists, countdowns and free-shipping rules edited in the admin
Key features
- Automatic reconciliation of missed payment notifications and refunds
- Stock checked before charging, so no one pays for a sold-out item
- Coupons migrated with case-insensitive matching, tiered order promotions and quantity tiers
- Back-in-stock alerts with live subscribers carried over
- Product feeds for Google, Meta, TikTok and Pinterest at their old addresses
- GTM ecommerce events for GA4, Meta and TikTok, and review stars on every tile
- 280+ pages and blog posts migrated into a visual block editor
- Advanced order search by coupon, CPF, date and status, with CSV export
- Admin in English and Portuguese with one-click "refresh store"
- AI-agent ready: Universal Commerce Protocol, an A2A agent, llms.txt and Markdown pages
The results
The main content now appears in about 1.0 second on average, down from 3.0 seconds, with 51% fewer network requests, zero layout shift and a desktop Lighthouse score of 97 on the home page (100 for accessibility, best practices and SEO). No ranked URL was lost and order totals were verified to the cent. The team now runs menus, campaigns, promotions and redirects from the admin without a developer.
The store is live at yogateria.com.br and taking orders. Read the full Yogateria case study for the performance tables, architecture and what comes next.
- ranked URLs lost at launch
- 0
- ranked URLs lost at launch
- fewer network requests per page
- 51%
- fewer network requests per page
- pages and blog posts migrated into a visual editor
- 280+
- pages and blog posts migrated into a visual editor
- payment provider instead of four
- 1
- payment provider instead of four
Screenshots






Client
Yogateria
Industry
E-commerce: yoga and wellness retail (Brazil)
Timeline
11 weeks from first commit to the main domain


