E-commerce7 min read

Headless commerce explained: when a custom store beats a theme

Headless commerce explained in plain English: how it works, the real pros and cons, typical costs, who needs it and when a good theme is the smarter choice.

DDawnwire team
Design, web and motion studio in Dubai
A desk with code on a monitor, a keyboard, candles and a plant
Photo: Upen Singh, WordPress Photo Directory (CC0)

Headless commerce means the storefront (the pages customers browse) is built as a separate website, while a commerce platform such as Shopify or WooCommerce keeps running products, stock, orders and payments behind the scenes. The two talk through an API, a structured way for software to exchange data. It gives you full control over design, speed and content, but costs more to build and to change, so it pays off for stores with demanding needs rather than as a default.

This guide explains how it works, what you gain and lose, what it typically costs, and the signs that a good theme is still the smarter choice.

Key takeaways

  • Headless commerce separates the storefront customers see from the engine that runs products, orders and payments.
  • It buys design freedom, speed and flexible content, at the cost of a bigger build budget and more reliance on developers.
  • Most small and mid-sized stores are better served by a well-built theme; headless earns its cost in specific situations.
  • Settle who will edit content, which apps you rely on and who maintains the code before you commit.

Headless in plain English

Think of a traditional online store as a shop where the front window and the stockroom are one building. In a theme-based store, the platform's theme controls every page, and you customise within what the theme allows.

In a headless store, the stockroom stays where it is, but you build a completely separate shop front. It can look and behave however you like, and it asks the stockroom for product details, prices and stock through the API. Checkout often still runs on the commerce platform, so payments and security stay in tested hands.

Theme-based storeHeadless store
Storefront built withThe platform's theme systemA separate framework, often React or Next.js
Design freedomWithin the theme's structureAnything a developer can build
Apps and pluginsMost install and work on the storefrontStorefront features often need custom work
Editing contentVisual editors built inA content system or custom admin, set up during the build
HostingIncluded, or one serverStorefront and commerce platform hosted separately
Build costLowerHigher
Who changes itThe owner, with occasional developer helpMostly developers

What you gain

These gains are real, but each depends on good engineering. A badly built headless store can be slower and more fragile than a good theme.

  • Design freedom: layouts, interactions and buying journeys no theme offers, such as product finders, comparison tools or configurators.
  • Speed: a storefront built with a modern framework can load very quickly, which helps with Core Web Vitals, the speed and stability measures Google uses (see Core Web Vitals explained).
  • Content and commerce together: guides, lookbooks and landing pages that mix editorial content and products without fighting a theme.
  • One engine, several front ends: the same catalogue can feed a website, an app, an in-store screen or a marketplace feed.
  • Independence: you can rebuild the storefront without migrating the store, or change the commerce engine while keeping the storefront.

What you give up

The costs get less attention in sales pitches, so weigh them carefully before you decide.

  • Higher build cost: you are building a website from scratch, plus the connection to the commerce engine.
  • App compatibility: many Shopify apps and WooCommerce plugins add features through the theme. On a headless storefront, reviews, filters, upsells and pop-ups may need custom integration.
  • Developer dependence: new page types and layout changes usually need a developer, unless the build includes a flexible content system.
  • More moving parts: two systems to host, monitor and keep in step, and two places where something can break.
  • Previews: seeing a change before it goes live takes extra setup.
  • Ongoing cost: frameworks and APIs change, so budget for a continuing developer relationship, not just a launch.

What a headless store typically costs

Market prices vary widely. Because the whole storefront is designed and coded rather than adapted from a theme, a headless build usually costs several times a theme setup for the same catalogue. Quotes typically run from the high four figures in US dollars for a lean custom storefront to six figures for complex, enterprise builds with many integrations. On top of that you pay the commerce platform's own fees, hosting for the storefront and ongoing developer time.

For reference, Dawnwire's published price for a large site or online store is $9,000 to $15,000 over 6 to 10 weeks, and every project gets a written scope with a fixed price after a free discovery call, so you know where a custom storefront lands before committing. For continuing development, our monthly studio retainers are $2,500 or $5,000 a month. The theme-based route is costed in how much a Shopify store costs.

Signs you need it, and signs you do not

Run through both lists honestly. If most of your answers land in the second list, put the money into a well-built theme, better photography and content, and revisit headless when the business outgrows it.

Headless is worth considering when

  • Your buying journey does not fit a theme: product finders, configurators, quizzes or comparison tools are central to selling.
  • Content drives sales, and guides or editorial pages need to mix freely with products.
  • Speed is a proven problem on your current theme, and removing apps has not fixed it.
  • You sell through several front ends, such as a website, an app and in-store screens, from one catalogue.
  • You have, or will pay for, ongoing developer support.

A theme is the smarter choice when

  • You are launching, or still testing what sells.
  • Your catalogue and buying journey are standard: browse, choose options, add to cart, pay.
  • You rely on several apps that only work inside themes.
  • Nobody will own the code after launch.
  • Your budget would do more for sales if spent on photography, content and marketing.

Common headless set-ups

Most headless stores combine three parts: a commerce engine, a storefront framework and, often, a content management system (CMS, the tool editors use to manage pages and articles).

The framework matters less than who will maintain it. Our comparison of WordPress, Webflow and Next.js covers the trade-offs of each approach for business sites.

  • Shopify as the engine, with a storefront built in Next.js or Hydrogen (Shopify's own React framework), reading data through Shopify's Storefront API. Checkout usually stays on Shopify.
  • WooCommerce and WordPress as the engine, with a React or Next.js storefront reading products through WooCommerce's APIs.
  • API-first commerce platforms designed for headless from the start, usually chosen by larger retailers with in-house developers.
  • A headless CMS alongside any of these, so marketers can edit landing pages and guides without code.
  • Storefront hosting on a platform built for these frameworks, such as Vercel or Netlify.

Two custom stores we built

Two of our projects show the kind of features that make a custom storefront worthwhile. CurvCraft, a Dubai shapewear brand, has a custom store built in Next.js on Vercel, with shopping by hold level and colour, a drag-to-compare before and after, a size guide, and next-day and same-day UAE delivery spelled out on every page.

BISMA Beauty, a Rawalpindi press-on nails brand that delivers across Pakistan, has a custom Next.js store with 44 designs in six collections, cash on delivery, WhatsApp ordering, made-to-order custom sets and landing pages for eight cities. Features like these can be approximated on a theme with several apps, but a custom build lets them work as one designed system. To keep a custom build consistent as it grows, see why a design system beats one-off pages.

Questions to settle before you commit

If you cannot answer the first three questions clearly, a theme is probably the better investment for now.

Headless commerce decision checklist

  • Which features can no theme, even with apps, deliver for you? List them.
  • Which apps or plugins do you rely on today, and how will each work on a headless storefront?
  • Who will edit pages, banners and product content, and in which tool?
  • Who maintains the storefront code after launch, and at what monthly cost?
  • Will checkout stay on the commerce platform?
  • How will you measure whether the new store performs better: speed, conversion rate, average order value?
  • What is the plan if you need to change developers?
Download the checklist (.txt)

Next steps

We build both theme-based and custom stores through our web design and development service, and we will tell you plainly if a theme is the better fit. For a quick budget figure for either route, try the project price estimator.

Frequently asked questions

Is headless commerce faster?

It can be, but not automatically. A well-built headless storefront can load very quickly because pages are prepared in advance and only changing data is fetched. A poorly built one, or one weighed down by heavy scripts, can be slower than a good theme. Speed comes from engineering discipline, so ask for measured Core Web Vitals targets in the scope.

What is Shopify Hydrogen?

Hydrogen is Shopify's own framework for building headless storefronts with React. It connects to Shopify's Storefront API for products, carts and customers, and Shopify offers hosting for it. It is one option among several, and many headless Shopify stores use Next.js instead. Either way, checkout and order management usually stay on Shopify.

Can I switch to headless commerce later?

Yes, and that is often the sensible order. Launch on a well-built theme, learn what customers need, then move the storefront to a custom build once the theme genuinely limits you. Because the commerce engine stays the same, products, customers and orders stay where they are; the work is rebuilding the storefront and redirecting any URLs that change.

Do I need a developer to update a headless store?

For products, no: you still add products, prices and stock in Shopify or WooCommerce as usual. For page content, it depends on the build. If it includes a content system with flexible page sections, your team can edit banners and landing pages themselves. New layouts and new features almost always need a developer.

The Dawnwire Agency Deck

Our process, what each service includes, how we price and hand over, and a selection of real client work, in one free deck.

Next step

Havesomethingworthbuilding?

Tell us what you are building. We will come back with a clear scope, a timeline and a price.