01What is headless Shopify?
In a normal Shopify store, the theme renders every page. In a headless store, Shopify still holds the products, prices, inventory, cart and checkout, but a separate front end shows the pages. That front end reads data from Shopify's Storefront API, which is a GraphQL API built for customer-facing storefronts.
When the shopper is ready to pay, a headless storefront typically creates a cart through the API and sends the shopper to Shopify's hosted checkout. So payments, taxes and order processing stay on Shopify.
02Next.js or Hydrogen?
Shopify has its own framework for headless stores, called Hydrogen, and its own hosting for it, called Oxygen. Next.js is a general React framework that many teams already use for marketing sites and apps.
Choose Hydrogen when the site is mostly a store and you want to stay close to Shopify's tooling. Choose Next.js when the store is one part of a larger product: a content site, a member area, a booking tool or an app that also reads from a CMS and your own database. Our Next.js development page covers that second case.
| Hydrogen | Next.js |
|---|
| Made by | Shopify | Vercel |
| Built for | Shopify storefronts | Any website or web app |
| Shopify helpers | Commerce components and hooks included | You add the Storefront API client and build the pieces |
| Hosting | Oxygen, Shopify's hosting, or your own | Vercel, or any Node host |
| Best fit | A store where Shopify is the main system | Commerce inside a bigger site, or several data sources |
03When is headless worth the extra work?
Good reasons we see:
Weak reasons:
- Content-led brands where editorial pages, lookbooks or video sit beside products, managed in a CMS.
- Products that need a configurator or a quote builder that a theme section cannot handle well.
- One catalogue that feeds a website, a mobile app and in-store screens.
- A site that combines Shopify with other systems, such as a booking engine or a member portal.
- A team that already runs a Next.js product and wants commerce inside it.
- "Headless is faster." A fast theme is possible too. Speed comes from fewer scripts, smaller images and good caching, on either approach.
- "We want a custom design." A theme can be designed from scratch.
- "Bigger brands are going headless." What other brands do is no guide. Pick the approach your own team can maintain.
04What do you give up?
Headless trades convenience for control. Know the costs before you start.
None of this is a reason to avoid headless. It is the reason to choose it on purpose.
- Theme apps. Many Shopify apps add their features through the theme. On a headless storefront, those widgets do not appear. You use the app's API, find a headless-friendly alternative, or rebuild the feature.
- The theme editor. Your marketing team cannot drag sections around in the Shopify admin. You need a CMS, or a developer for every layout change.
- Hosting and monitoring. The storefront is now your application. Someone has to deploy it, watch it and fix it.
- Build and upkeep cost. You build every page type that a theme would have given you, then maintain them as Shopify's APIs change.
05How does SEO work on a headless store?
You are responsible for the basics a theme gives you by default: titles, meta descriptions, canonical tags, a sitemap, robots.txt, structured data and redirects. Next.js supports all of these, and server rendering means search engines see full HTML. You still have to build and test them. Put them in the scope.
Check two things in particular. Product and collection URLs should not change when you go headless, or you need a redirect for every one. And pages should render the product content on the server, so crawlers do not depend on client-side JavaScript.
06What does a sensible headless setup look like?
A setup we would recommend for a content-led brand:
- Shopify for products, inventory, cart and checkout.
- Next.js for the storefront, rendered on the server and cached.
- A headless CMS for editorial pages, so marketing can publish without a developer.
- The Storefront API for product data, with webhooks to refresh cached pages when prices or stock change.
- Shopify's hosted checkout, so payments and taxes stay with Shopify.
- Monitoring and error alerts from day one.
07Does headless change anything for India or UK stores?
Payments stay on Shopify's side, so the setup is the same as for a theme store. A store in India still connects Razorpay, PayU or another gateway, because Shopify Payments is not offered to Indian businesses. A UK store can use Shopify Payments, which Shopify offers in the UK. Our Shopify payment gateway guide for India covers the Indian options.
Selling in several countries needs more care. The Storefront API can return prices and availability for a given country, but the front end has to ask for the right one, show the right currency and keep URLs consistent for each market. On a theme, Shopify handles much of that for you. On a headless store, it is part of the build.
08Can you go headless later?
Yes. Many brands start on a theme, grow, and move the storefront to Next.js or Hydrogen when they hit a real limit. The products, customers and orders stay in Shopify, so the move is a front-end rebuild, not a replatform. Plan URL redirects and analytics before you switch.
If you are not sure you need headless, start with our comparison of Shopify vs a custom website.
09Talk to us about a headless build
We build Shopify themes and Next.js front ends, so we can tell you which one fits. Book a project call and bring the parts of your site a theme cannot handle. See Shopify development and Shopify for UK brands.
Questions
What is headless Shopify?
Headless Shopify keeps products, cart and checkout on Shopify and uses a separate front end, such as Next.js or Hydrogen, to show the pages. The front end reads data through the Storefront API.
Is headless Shopify worth it?
It is worth it when a theme blocks something central, such as a configurator, a content-heavy brand site or commerce inside a larger app. For a standard store, a good theme costs less to run.
Should I use Hydrogen or Next.js?
Hydrogen suits a site that is mainly a Shopify store. Next.js suits commerce inside a larger site or app with several data sources.
Do Shopify apps work on a headless store?
Apps that work through the theme usually do not show on a headless storefront. Use the app's API, a headless-friendly alternative or a custom build.
Is a headless Shopify store faster?
It can be, but speed comes from lean code, small images and caching. A well-built theme can also be fast.
Talk through the project
Bring the current site, the deadline and the parts that have to work on day one. The call is for scope, not a scripted pitch.
Book a call · Pricing · Process · See all our projects