Building Production Software

Headless Commerce: Shopify vs a Custom Storefront

Headless commerce separates the shop customers see from the system that holds products and takes payment. It gives full control of the experience and adds real cost. This guide helps a growing brand decide whether the trade is worth it.

By Rahul D SarkerPublished November 17, 2026Updated November 17, 20266 min read

Part of our Building Production Software series. Start with Production-Grade Software: Engineering Practices That Prevent Technical Debt.

The Short Answer

What is headless commerce?

Headless commerce is a way of building an online shop in which the front end, the pages customers see, is separate from the back end that manages products, stock, checkout and orders. The two communicate through APIs. In a traditional platform the theme and the commerce engine are one system. Going headless lets you build any customer experience you like, while the platform still handles the commerce.

Most shops do not need it. A standard Shopify store with a good theme is faster to launch, cheaper to run and good enough for the large majority of brands. Headless is for the cases where the theme has become the limit.

Read the transcript

Going headless means rebuilding the shop your customers see, as a separate application. It gives you complete control of the experience. And most stores don’t need it. The platform still handles products, checkout and orders. But the front end is now yours to build, host and maintain. So when is it worth it? Count the costs first. Months of build. Apps that stop working. Marketers who can no longer edit pages. And a developer for changes that used to be a setting. It makes sense when the theme blocks something that would clearly raise sales, when you sell through several front ends, and when you have developers to run it. And try the options in between first. A custom theme. Or one custom section inside the theme you already have. Headless doesn’t make a store fast. It gives you control. And control only helps if you use it. The full guide is free at loomstrat.com.

How It Differs

Traditional and headless compared
Traditional (theme-based)Headless
Front endA theme inside the platformA separate application, often built with a framework such as Next.js or Shopify’s Hydrogen
Design freedomWithin the theme systemComplete
ContentThe platform’s pages and blogUsually a separate content management system
Apps and pluginsInstall and they workMany need custom integration, or do not work
Who can change the siteMarketers, in the theme editorDevelopers for structure; marketers through the CMS
HostingIncludedYou host the front end
Build timeWeeksMonths
Running costPlatform fee and appsPlatform fee, hosting, CMS, development retainer

On Shopify, a headless front end reads products and builds carts through the Storefront API, and Hydrogen is Shopify’s own framework for building one. Checkout normally remains on Shopify’s hosted checkout, which is a benefit: payment security and compliance stay with the platform.

Headless, Composable and MACH

Headless means separating the front end. Composable commerce goes further: each capability, such as search, content, checkout, reviews and subscriptions, comes from a different specialist service, joined by APIs. The MACH Alliance promotes this approach under four principles: microservices, API-first, cloud-native and headless. It offers the most flexibility and the most to integrate and maintain. It is an approach for large retailers with engineering teams, and seldom right for a brand still finding its feet.

What Headless Can Give You

  • A distinctive experience. Product configurators, guided selling, rich editorial and commerce on one page, interactions a theme cannot express.
  • One back end, many fronts. A website, a mobile app, in-store screens and marketplaces fed from the same catalogue.
  • Content freedom. A proper content management system for brands that publish a great deal.
  • Several storefronts. Regions, languages or brands with different sites and shared operations.
  • Performance control. You decide exactly what loads and when.
  • Independence of the front end. You can redesign without replatforming, or change platform without redesigning.

A caution on performance. Headless does not make a site fast by itself. A well-built theme can score well on Core Web Vitals, and a badly built headless site can be slow. What headless provides is control, and control only helps a team that uses it well.

What It Costs

  • The build. A custom front end is a software project of several months.
  • Lost apps. Many Shopify apps add features by injecting code into the theme. On a headless site, reviews, upsells, subscriptions, bundles and pop-ups may each need rebuilding or a provider with its own API.
  • Lost editing. Marketers can no longer rearrange pages in the theme editor unless you build that ability into the CMS.
  • More vendors. Hosting, CMS, search and monitoring, each with its own bill and its own failures.
  • Ongoing development. Changes that were a setting become a ticket.
  • Technical SEO. Rendering, metadata, structured data, redirects and sitemaps are now your job; see our technical SEO guide.
  • Analytics and tracking. Events must be implemented by hand; see server-side tracking.

The build is the smaller part over time. The larger part is the standing cost of a development team for work that used to need none.

When Headless Makes Sense

Signals for and against
Consider headless when…Stay with a theme when…
The theme system blocks an experience that would clearly raise salesYour site looks and works much like other good shops
You sell through several front ends: web, app, kiosksYou sell through one website
You run several regions or brands on shared operationsOne store, one market
Content is central and your team outgrew the platform’s editorA product catalogue and a simple blog
You have, or will retain, developersNobody technical on the team
Revenue is large enough that a small uplift pays for the buildYou are still proving the product
Your product needs complex configuration or pricingStandard variants and prices

Options Short of Going Fully Headless

  • A custom theme. A bespoke Shopify theme gives far more design freedom than an off-the-shelf one and keeps apps and the editor working.
  • Hybrid. Keep the theme for most pages and build one custom section, such as a configurator, as a small application embedded in it.
  • Headless for content only. Editorial pages on a separate site, with the shop on the standard platform.
  • Platform features first. Shopify’s built-in tools for international selling, B2B and checkout customisation cover many needs that once required custom work.

These solve most problems that send brands looking at headless, at a fraction of the cost. Our guide to custom software versus off-the-shelf covers the general reasoning.

How to Decide

  1. 1

    Name the limit

    Write down exactly what the theme prevents. “We want something more modern” is not a limit.

  2. 2

    Estimate the gain

    What would the change be worth in conversion, order value or new channels?

  3. 3

    Try the alternatives

    Could a custom theme or a hybrid section do it?

  4. 4

    List every app you rely on

    Check each one has an API or a replacement.

  5. 5

    Price three years

    Build, hosting, CMS, and a retained developer or team.

  6. 6

    Check who will run it

    Without developers on hand, a headless store degrades.

  7. 7

    Prototype one page

    Build the product page headless and test it against the current one before committing.

We build custom storefronts and the integrations behind them for e-commerce and D2C brands, and we will tell you when a theme is the better answer. Talk to us about your store.

Frequently Asked Questions

What does headless mean in e-commerce?

The customer-facing front end is separate from the commerce back end, and the two communicate through APIs. The front end can be built with any technology.

Is headless commerce worth it for a small business?

Rarely. A standard theme is cheaper, faster to launch and easier to run. Headless suits larger brands with specific needs and developers to maintain it.

Is headless Shopify faster?

It can be, because you control what loads. It is not automatic: a well-built theme can be fast and a poorly built headless site slow.

What is Shopify Hydrogen?

Shopify’s framework for building custom headless storefronts, which reads data through the Storefront API.

Do Shopify apps work with a headless store?

Apps that work in the back end usually do. Apps that add features to the theme often do not and must be rebuilt or replaced.

What is the difference between headless and composable commerce?

Headless separates the front end from the back end. Composable commerce also splits the back end into separate specialist services, such as search and content, joined by APIs.

Have a build brief already forming in your head?

Loomstrat Studio scopes, builds, and hands over production software in 3–6 weeks - fixed price, 100% repository ownership.

  • Reply within 24 hours
  • Fixed price before we start
  • Zero technical debt guarantee