Skip to content
Shopify Headless Nextjs Architecture

Headless Shopify in 2026: Hydrogen vs Liquid Themes vs a Next.js Storefront

Shakewell ·

Headless Shopify means you build the storefront yourself and use Shopify only for commerce through its APIs. Hydrogen is Shopify’s own toolkit for that, and a Next.js storefront on the Storefront API is the common alternative. For most Australian merchants a Liquid theme on Online Store 2.0 is still the better choice, because headless costs more to build and run, and it takes away tools your team uses daily.

Shopify’s own headless documentation says it plainly: “A headless storefront costs more to build and run than a theme.” This post sets out the three options side by side, what you lose, and when headless genuinely pays. The wider argument is in our headless commerce overview and our post on when headless is worth it and our Next.js headless post. This one is Shopify-specific.

The three options in plain terms

Liquid theme (Online Store 2.0). Shopify renders the pages. Your team edits sections and blocks in the theme editor, and apps add features through app blocks. A Shopify development agency customises the theme in Liquid.

Hydrogen on Oxygen. Hydrogen is a set of components, utilities and patterns for building a storefront on Shopify’s APIs. Shopify’s docs describe Hydrogen projects as preconfigured React Router apps with CLI tooling. Oxygen is Shopify’s hosting for them. The docs we checked were for Hydrogen version 2026-10, with 2026-04 and earlier marked as legacy.

Next.js (or another framework) on the Storefront API. Shopify lists “bring your own stack” as an option, where you call the APIs from any language or framework. Its Hydrogen getting-started material also describes Vercel Shop as a Next.js 16 template deployed to Vercel. You choose and pay for the hosting, for example Vercel. We cover that framework in our Next.js development work.

In all three cases the buyer pays in Shopify’s hosted checkout. Shopify’s overview says the Storefront API “hands customers off to checkout,” and the cart’s checkoutUrl is how that happens. You are not rebuilding the part that handles money.

What Shopify gives you headless

  • Storefront API: products, collections, search, pages, blogs and the cart.
  • Customer Account API: buyer sign-in, orders, addresses and profile, over OAuth 2.0 with PKCE. Shopify’s docs say headless and Hydrogen clients receive a refresh token.
  • Markets: pass country and language in each request and the Storefront API returns the local pricing and language. You decide how URLs map to markets, such as paths or domains.
  • Rate limits: Shopify says requests from real buyers are not subject to a fixed requests-per-minute limit. Bots, crawlers and checkout creation are limited. Server-side requests must send the Shopify-Storefront-Buyer-IP header, or Shopify cannot tell your buyers apart.

What you lose going headless

This is the part sales pitches skip.

  • The theme editor. Shopify’s docs say merchants cannot add, move or configure app blocks on Hydrogen, because the theme editor only edits themes.
  • Theme app extensions. Shopify says Hydrogen does not render app blocks, app embed blocks or sections, because they are Liquid. Hydrogen also does not load scripts and styles that an embed block would add to a theme.
  • Free app compatibility. Shopify’s workaround is to render app data from metafields, metaobjects or the app’s API in your own components, or to choose an app that documents headless support. Each app becomes a small integration project.
  • Anything Liquid ignored. The Storefront API only returns metafields and metaobjects whose definitions allow storefront access. Liquid ignores that setting, so data that showed on a theme can go missing.
  • Built-in routing and SEO plumbing. Product URLs default to /products/:handle. If your structure differs, you need server-side redirects to it. You also need cart permalinks.

Our custom Shopify app post covers the other side: where building your own integration beats a store full of apps.

Comparison table

Costs are described by driver, not price, because they depend entirely on scope.

Liquid theme (OS 2.0) Hydrogen on Oxygen Next.js on Vercel or other host
Build cost drivers Theme choice and customisation, section and block design, app setup Full front end, data layer, cart and account flows, preview, app integrations Same as Hydrogen, plus the plumbing Hydrogen provides: cart handling, routing, SEO helpers
Running cost drivers Plan, apps, occasional theme work Plan, developer retainer, tooling. Oxygen is no extra charge on paid plans Plan, developer retainer, hosting bill, any CMS and search tools
App compatibility Widest: app blocks and embeds work Only apps with API or headless support, or rebuilt in your components Same as Hydrogen, with less Shopify-provided scaffolding
Merchandiser control Theme editor, in-context Fields and metaobjects. Preview and layout control must be built Whatever your CMS and preview build provides
Performance Depends on theme weight and apps Depends on your code and caching. Hydrogen caches at the edge on Oxygen Depends on your code, rendering strategy and host
Skills needed Liquid, theme development React, GraphQL, React Router, Shopify APIs React, Next.js, GraphQL, Shopify APIs, hosting
Who it suits Most merchants Teams with React skills who want Shopify’s own tooling Teams already on Next.js, or with several surfaces to feed

We have left out performance numbers on purpose. Any headless storefront can be fast and any theme can be slow. The result depends on images, apps, third-party scripts and how the code is written. If speed is the reason you are considering headless, fix the cause on the current stack first. Our theme development cost post covers what a well-built theme includes.

SEO on a headless storefront

A theme gives you sitemaps, canonical tags and robots rules without a project. Headless makes them your job.

  • Rendering. Server-render or pre-render product, collection and content pages so crawlers receive real HTML. Client-only rendering is a risk for important pages.
  • Metadata. Hydrogen’s docs describe returning an SEO object from each route and passing it to a helper. In Next.js you build the equivalent.
  • Sitemap and robots. Hydrogen’s base template includes sitemap and robots routes. The sitemap is cached for 24 hours. On Oxygen, robots.txt is only served in the public production environment with a custom domain. In Next.js you generate both.
  • Redirects. Shopify’s docs flag the product-route redirect, and a migration adds many more. Keep a redirect map and test it. Our Magento to Shopify SEO migration post covers how that goes wrong.
  • International. Pick one URL scheme for markets and keep it. Changing it later breaks indexed URLs.

Content: metaobjects or an external CMS

Shopify metaobjects let you define structured content with several related fields, and a definition setting controls whether the Storefront API can read it. By default it cannot, so you must enable it.

Metaobjects suit size charts, ingredient lists, author profiles and simple landing page blocks. An external CMS suits content that is edited more than the catalogue, shared with other sites, or needs a richer editing workflow. In either case, plan preview deliberately. In a theme an editor sees the page. In a headless store they see fields, unless someone builds preview. Our headless CMS post covers that trade-off in more depth.

When a Liquid theme is the right answer

Choose a theme when most of these are true:

  • One storefront serves one brand or a small set of markets.
  • Marketing edits pages and promotions without a developer.
  • You rely on several apps for reviews, subscriptions, bundles or loyalty.
  • You have no React developers on call after launch.
  • The goal is faster pages or a fresher look, not a new kind of experience.

Under that level of complexity, a well-built theme plus fewer apps gets most of the benefit at a fraction of the effort. If checkout is the pain point, that is a separate topic, covered in our checkout customisation post. It does not need a headless storefront.

When headless genuinely pays

Headless earns its cost in a narrower set of cases:

  • Multiple content-heavy brands that need one commerce back end and different front ends.
  • Complex content that does not fit theme sections, such as editorial, guides and configurators tied to the catalogue.
  • An existing React team that already ships and maintains front ends and wants to treat the storefront as another one.
  • Non-standard UX that a theme cannot deliver, such as a custom product builder or a very different navigation model.
  • Several surfaces such as web, app and kiosk sharing one catalogue.

Hydrogen fits when you want Shopify’s own tooling and Oxygen hosting. A Next.js storefront fits when your team already runs Next.js, or the same codebase needs to serve other systems. For Shopify Plus merchants running several brands, settle the plan and store structure first, then the front end.

An honest note on our experience: our developers include 3 Shopify-certified developers, and we run Next.js in production, for example Booka, which is Next.js and TypeScript over Postgres. That is Next.js proof, not commerce proof. Whichever route you pick, we will tell you if a theme covers the need.

A sensible order of decisions

  1. Write down what the theme cannot do. Be specific, and ignore “faster” and “modern”.
  2. Check each app you rely on for documented headless support.
  3. Decide who edits content, and how they will preview it.
  4. Price the running cost: developers on call, hosting, CMS, monitoring.
  5. Only then compare Hydrogen and Next.js for your team’s skills.

If you want a second opinion on headless commerce for your store, a Shopify development agency with developers on both sides of the decision can scope it without a bias toward building more.

Sources: Shopify, Headless commerce on Shopify, Hydrogen, Hydrogen and Oxygen fundamentals, Installed apps on a Hydrogen storefront, Storefront API, Customer Account API, Hydrogen SEO, Hydrogen markets, Cart and checkoutUrl, Metaobjects, all checked November 2026.

Common questions

What is the difference between Shopify Hydrogen and Liquid?

Liquid themes are rendered by Shopify and edited in the theme editor. Hydrogen is a toolkit for building your own storefront in React: Shopify's docs describe Hydrogen projects as preconfigured React Router apps that call the Storefront API and deploy to Oxygen. With Hydrogen you own the front end, and you lose the theme editor and Liquid-based app blocks.

Is Shopify Hydrogen free to host on Oxygen?

Shopify's docs say Oxygen is available at no extra charge on paid Shopify plans (Starter, Basic, Grow, Advanced, Plus, and Pause and build), and not on Agentic plans. That covers hosting only. The build, the developer time to maintain the storefront, and any CMS or search tools you add are separate costs, and they are the larger ones.

Can you use Next.js with Shopify instead of Hydrogen?

Yes. The Storefront API works from any stack, and Shopify lists bring-your-own-stack as an option alongside Hydrogen. Its docs also list a Next.js starter that deploys to Vercel. You build and host the front end yourself, and the buyer still moves to Shopify's hosted checkout to pay.

Do Shopify apps work on a headless storefront?

Many do not, at least not as installed. Shopify says Hydrogen does not render theme app extensions, app blocks or app embed blocks, because they are Liquid. Apps that expose data through the Storefront API, metafields or their own API can be wired into your own components. Check each app for documented headless support before you commit.

Start a conversation

Start a conversation

Tell us what you want to build, fix or scale, we’ll come back with a clear way forward.