Skip to main content
Back Case Study

Suplenet — From WordPress to headless e-commerce

A premium supplement e-commerce fully migrated from WordPress + WooCommerce to a headless stack: Astro 5 for the storefront, Supabase for the database, and Next.js 15 for checkout. 215 products, 450+ dictionary entries, 100/100 Lighthouse scores, and $0 in CMS costs.

Visit suplenet.com
450+ Dictionary entries
215 Products migrated
100 Lighthouse score
$0 CMS cost
The Challenge

WordPress was the ceiling, not the foundation

Suplenet started as a WordPress + WooCommerce store importing premium supplements from US brands like Thorne, Nordic Naturals, and Sports Research to Colombia. The SEO strategy worked: a 450+ entry scientific dictionary built topical authority, and AI chatbots became the primary sales channel. But the platform was holding everything back.

WordPress imposed a stack of paid plugins (Bricks Builder, JetEngine, FlyingPress, Perfmatters, Doofinder) just to achieve acceptable performance. WooCommerce's default schema had to be completely disabled and replaced with 14 manual JSON-LD snippets. Every optimization was a workaround against the platform's own defaults. Performance was capped at 70-80 on Lighthouse regardless of how much caching and lazy loading was layered on.

The real question was not whether the site needed improvement, but whether it was worth rebuilding from scratch. 215 products across 9 taxonomies with 2,169 relationships. A dictionary with strict conventions: minimum 8 H2s, 8 FAQs, 10 PubMed references per entry. A custom AI-powered search engine. Could all of this be migrated without losing what already worked?

The Solution

Full headless migration: Astro + Supabase + Next.js

I migrated the entire store to a headless architecture. Astro 5 generates every storefront page at build time as static HTML — products, dictionary entries, category pages, the blog. No server-side rendering, no database queries on page load. The result is a 100/100 Lighthouse score across the board with zero performance plugins.

Supabase replaced both WordPress and WooCommerce as the single source of truth. All 215 products, 9 taxonomies, and 2,169 taxonomy relationships were migrated from WooCommerce into a PostgreSQL database with proper relational schemas. Product metadata, dictionary entries, and all content live in Supabase. The REST API that WordPress provided is now replaced by Supabase's auto-generated API with row-level security.

Checkout lives on a separate Next.js 15 application hosted on Vercel, with Mercado Pago integration built from scratch. This separation means the storefront stays fully static and fast while the checkout handles the dynamic, transactional logic independently. A custom slide cart built from scratch replaced FunnelKit Cart entirely.

The dual SEO + LLM strategy carried over and strengthened. Custom JSON-LD is now generated at build time with zero runtime overhead. The llms.txt file is served directly without WAF interference. The AI-powered search engine (GPT-4o-mini semantic search with client-side fuzzy fallback) migrated cleanly. And the critical insight remains: ChatGPT referrals convert at dramatically higher rates than organic search visitors.

Results

Faster, cheaper, fully controlled

100/100 Lighthouse performance

Every page scores 100 on Lighthouse. No caching plugins, no lazy rendering hacks. Static HTML generated at build time does the work that five WordPress plugins could not.

215 Products migrated to Supabase

Every product, variation, taxonomy, and relationship moved from WooCommerce to PostgreSQL. 9 taxonomies, 2,169 relationships, all with proper relational integrity.

$0 CMS and plugin costs

No WordPress hosting fees, no Bricks Builder license, no JetEngine, no Doofinder subscription. The entire storefront runs on Cloudflare Pages for free.

450+ Dictionary entries preserved

The entire scientific dictionary migrated intact. Same strict conventions, same PubMed references, same FAQ structure — now rendering as Astro pages instead of WordPress CPT.

ChatGPT Still the top converting channel

AI referrals continue to convert at dramatically higher rates than organic search. The headless migration made the site even easier for LLMs to parse and recommend.

22 Custom blog components

A fully designed blog with 22 reusable Astro components. No page builder limitations — every element is purpose-built with Tailwind CSS.

Tech Stack

Headless, static, fully owned

Core Platform

Astro 5Tailwind CSS 4TypeScript

Database

SupabasePostgreSQL

Checkout

Next.js 15VercelMercado Pago

SEO & Schema

Custom JSON-LDDataForSEO APIllms.txt

AI & Search

GPT-4o-miniCustom AI SearchLLM Optimization

Performance & Hosting

Cloudflare PagesCloudflare CDNSSG100/100 Lighthouse
Key Learnings

What migrating away from WordPress taught me

WordPress plugins are a tax on performance

Every plugin added to compensate for WordPress limitations (caching, lazy loading, schema overrides, search) was a band-aid that introduced its own overhead. Removing the entire layer and generating static HTML eliminated the problem at the root. Five performance plugins replaced by zero.

Migrating data is the hard part, not building the new site

Moving 215 products with 9 taxonomies and 2,169 relationships from WooCommerce's meta-based storage into proper PostgreSQL tables required careful mapping. The storefront and checkout were straightforward to build. The data migration was where precision mattered most.

Separating storefront from checkout is a superpower

Astro generates a blazing-fast static storefront. Next.js handles the dynamic checkout flow. Each technology does what it is best at. WooCommerce forced both into one monolithic system where optimizing one meant compromising the other.

AI referrals survive platform migrations

The critical discovery from the original build — that ChatGPT referrals convert better than Google traffic — remained true after the migration. If anything, the cleaner HTML structure and faster load times made the site even more attractive for LLMs to recommend.

Ready to optimize for the AI era?

I help founders build digital businesses that are optimized for both traditional search and AI discovery. If you want to position your business where the next wave of customers is looking, let's talk.

Apply to work with me
Stay sharp

Frameworks, tools, and real lessons from building solo.

No spam. Unsubscribe anytime.