Quality Assurance Labs
Web Development

E-commerce & CMS Development in 2026

Senior Web Engineer8 min readPublished Updated

Your CMS and storefront aren't the same thing. Here's how to architect both — headless vs traditional CMS, Shopify Hydrogen, content pipelines, and Core Web Vitals that actually move conversion.

Shopping cart beside an ecommerce product catalog
#e-commerce#CMS#Shopify#WordPress#headless-CMS

E-commerce and CMS platforms look simple from the outside. From the inside, they're a complex dance between content, commerce, search, personalization, and performance.

Here's how we architect both at QA Labs.

Traditional vs headless CMS

Traditional (WordPress, Drupal):

  • Pros: Batteries included, huge plugin ecosystem, easy for marketers
  • Cons: Coupled to a frontend, harder to customize, slower by default

Headless (Sanity, Contentful, Payload):

  • Pros: Fast, flexible, decoupled frontend, easier multi-channel
  • Cons: Requires engineering resources, less plugin ecosystem

Recommendation: Headless for high-traffic, high-performance sites. Traditional for content-heavy sites with limited engineering.

E-commerce platforms

Shopify — Best for most D2C brands. Strong ecosystem.

Shopify Hydrogen — Shopify's React framework. Best for custom storefronts on Shopify.

WooCommerce — WordPress-based. Best when you already have WordPress.

Medusa, Saleor — Open-source, self-hosted. Best for full control.

Shopify Hydrogen architecture

Hydrogen is React on top of Shopify's Storefront API. It gives you:

  • Full control over frontend performance
  • Modern React patterns (Server Components)
  • Built-in caching and edge deployment

Best for brands that want Shopify's backend with a custom, fast frontend.

Content pipeline

For headless CMS:

  • Content authored in CMS (Sanity Studio, Contentful)
  • Published via webhook to frontend
  • Frontend revalidates pages incrementally
  • CDN serves cached content

This gives editors instant publishing without rebuilding the entire site.

Core Web Vitals for e-commerce

LCP <2.5s — Hero image on product pages

INP <200ms — Add to cart, quantity change

CLS <0.1 — No layout shift as images load

E-commerce sites get hit hardest by CWV because they're image-heavy and interaction-heavy. Optimizing CWV often directly moves conversion.

Conversion-critical details

  • Product images in modern formats (AVIF, WebP)
  • Lazy loading below the fold
  • Cart persistence across sessions
  • Guest checkout option
  • Trust signals near buy button (reviews, guarantees)
  • Mobile-first checkout flow

Common mistakes

  • Over-customizing the CMS backend
  • Ignoring Core Web Vitals
  • No content caching strategy
  • Deep coupling to one vendor's API
  • Slow checkout flows
  • Poor mobile UX

Key takeaways

  • Headless CMS for performance; traditional for content-heavy
  • Shopify Hydrogen for custom storefronts on Shopify
  • Content pipelines use webhooks + incremental revalidation
  • CWV directly impacts conversion — optimize deliberately
  • Cart, checkout, and trust signals are conversion-critical

Further reading

About the author

Senior Web Engineer →

Senior Web Engineer · Quality Assurance Labs

Notes from the lab.

Testing, engineering and growth — delivered to your inbox.

Need a storefront audit? Book a call

Let's talk →