Shopify + Next.js: When a Headless Storefront Is Worth It

Headless Shopify means Shopify works as the backend: products, prices, inventory, orders and payments stay in its admin, while the site your customers see is built separately, for example with Next.js. The storefront gets data through the Storefront API, and orders go through the standard Shopify checkout. You get full control over design and speed, at a higher cost than a theme and with a developer needed for changes.

How it works

  1. You manage products, prices and orders in the Shopify admin, as in a regular store.
  2. The Next.js storefront loads the catalog, search and cart through the Storefront API. For products, collections, search and cart, Shopify even allows requests without a token.
  3. When the customer clicks checkout, the storefront hands the cart to Shopify's checkout: payments, taxes and discounts work as usual.
  4. Orders show up in the admin tagged with the sales channel, so you can see what this storefront sold.

Next.js or Shopify Hydrogen

Hydrogen is Shopify's toolkit for custom storefronts. In October 2026 Shopify released Hydrogen 2026-10: it is now a library you can add to any JavaScript stack, with starters for React Router and Next.js. You can deploy to Shopify's Oxygen hosting or to Vercel.

Next.js with the Headless channel fits when you already run a Next.js site or the storefront must live on your own infrastructure, for example AWS. That is how we work: a Next.js frontend with automatic deploys, monitoring and backups on your hosting.

When headless pays off

  • Speed and SEO drive your sales. You control every script, the URL structure and the page markup.
  • Your design or logic does not fit a theme: product configurators, complex filters, interactive catalogs.
  • You publish a lot of content: a blog, guides and CMS landing pages next to the catalog on one site.
  • You run several storefronts on one catalog: a website, a mobile app, separate sites for countries or brands.

When a theme is the better choice

  • Your catalog is small and your budget is tight. A well-tuned theme gets you 90% of the result for a fraction of the price. Our template store has ready-made Shopify themes too.
  • You rely on Shopify App Store apps. Many of them plug into the theme: reviews, upsells, widgets. On a custom storefront you connect them through APIs or replace them.
  • You have no developer on call. Every storefront change, from a new homepage block to a new page, needs development.

What headless Shopify costs

  • Storefront development: from $3,000 with us. The price depends on page types, filters, integrations and languages.
  • Shopify plan: the same plan as a regular store. See how much Shopify costs.
  • Storefront hosting: Oxygen, Vercel or your own cloud server.
  • Maintenance: dependency updates, new features, monitoring.

FAQ

Does Shopify checkout work with a custom storefront? Yes. The storefront hands the cart to the standard Shopify checkout, so payments, discounts, taxes and shipping work as in a regular store.

Do I need Shopify Plus for headless? No. The Storefront API and the Headless and Hydrogen channels are available on regular plans.

Can I add a headless storefront to a live store? Yes. You install the Headless or Hydrogen channel, publish your products to it and launch the new storefront on your domain when it is ready.

Read also

How Much Does Shopify Cost in 2026? Plans, Fees and Real Monthly Cost

The subscription is the smaller part of your Shopify bill. We break down every fee and calculate the monthly sales level where a bigger plan starts saving you money.

7 min read · Read →

Shopify, WooCommerce, Wix or a Custom Website: Which to Choose for Your Online Store

Four ways to open an online store and four different cost models. We compare them on money, flexibility and what happens when your store grows.

7 min read · Read →