Headless commerce - what it is and when to choose it over Shopify
Author: Grzegorz Ługowski - Founder & Lead Engineer, GL Omniflow.
Headless commerce decouples the store frontend from the backend, providing full control over UX and performance. When is it worth it, and when is it better to stick with classic Shopify or WooCommerce?
Headless commerce is an architecture where the presentation layer (frontend) is decoupled from the business logic layer (backend) and communicates with it via APIs. In practice: the backend (Shopify, BigCommerce, commercetools) manages products, cart, and payments, while the frontend (Next.js, Astro, custom) handles the UI.
When does headless commerce pay off?
- Stores with high performance requirements (Core Web Vitals are critical)
- Custom purchase journeys (configurators, dynamic pricing)
- Multiple sales channels (web, mobile app, kiosk, marketplace)
- High scale (>100k page views/day)
- Need for complete control over UX and branding
When should you not choose headless?
A small store with up to 1,000 products, a standard sales model, no dedicated development team, and a limited budget - in this case, classic Shopify or WooCommerce is cheaper, faster to deploy, and fully sufficient. Headless is a significantly larger investment.
Which technology stack should you choose for headless commerce?
The most popular combinations: Shopify Hydrogen + React/Remix, Next.js + commercetools, Astro + Saleor. The choice depends on scale, team expertise, and SEO requirements. All of them allow ISR/SSG, which results in excellent Core Web Vitals.
How much does a headless commerce implementation cost?
- Headless Shopify (basic Next.js frontend): individual quote
- Headless with a dedicated configurator: higher budget, individual quote
- Enterprise headless with multiple channels: usually starting from approx. 150 000 zł net and up