DEV Community

NextGen Fusion
NextGen Fusion

Posted on Originally published at nextgenfusion.in

Headless Shopify: When Should Your Store Go Headless?

Your Shopify store should go headless only when a theme, apps and Liquid genuinely can't deliver what the business needs, and when you have the budget and developers to look after a custom frontend once it launches. For most small and mid-sized stores, a well-built theme is still the better choice. Shopify's own documentation says plainly that a headless storefront costs more to build and run than a theme.

What does headless Shopify actually mean?

A normal Shopify store uses a theme: Shopify hosts the pages, and the design is built in Liquid, Shopify's template language. A headless store splits the two halves. According to Shopify's guide to headless commerce, you build the frontend on whatever stack, framework and hosting you choose, and Shopify's APIs handle the commerce underneath: products, collections, customers, the cart, checkout and international pricing.

Two APIs do the work:

  • The Storefront API serves products, collections, search and the cart, then hands the customer over to checkout.
  • The Customer Account API lets customers sign in and serves their orders, addresses and profile.

Checkout itself stays on Shopify. Your custom frontend handles everything up to the moment the customer pays, and Shopify takes it from there.

When does Shopify say you should go headless?

Shopify's documentation frames it simply: consider headless if your business systems, processes or customer experience can't be achieved with Shopify's sales channels, themes and apps. It gives these examples:

  • You're building a storefront experience that existing web or mobile tools can't support, or can't support easily.
  • You already have a web frontend stack that doesn't use Liquid.
  • You want to add Shopify commerce to infrastructure you already run.
  • You sell on several channels that Shopify doesn't support out of the box, such as a mobile app, a game, a livestream or a smart device.
  • You use a content management system (CMS), or plan to, for content that's integrated with your storefront.

When should you stay on a Shopify theme?

From the stores we've worked on, the common reasons owners ask about headless are a slow site, a design that feels generic, or a feature they've seen on a big brand's store. None of those automatically needs a headless build.

  • A slow store is usually caused by heavy apps, oversized images and too many scripts. Those can be fixed on the theme you already have, as we explain in our guide to Shopify speed optimisation without a rebuild.
  • A generic look is a design problem. A custom theme can look as distinctive as any headless frontend.
  • A missing feature is often an app or a small custom section away.

If your store sells on one website, your team edits content in the Shopify admin, and nobody on staff writes code, a theme keeps your running costs and your dependence on developers lower.

A quick checklist before you decide

Go headless if you can answer yes to most of these:

  • We've written down a specific experience or channel that a theme and apps can't support.
  • We've ruled out speed and design fixes on our current theme.
  • We have, or will pay for, developers to maintain the storefront after launch.
  • We have a plan for URLs, redirects and SEO tags.
  • Every app we rely on has been checked against a headless setup.

Read the full NextGen Fusion guide for the build options, SEO migration checklist and post-launch maintenance details.

Top comments (0)