How to tell if a Shopify store is headless, and what it means
By Ahmad Mujtaba, Shopify Select Partner · · 5 min read
Short answer
A headless Shopify store uses Shopify for products, orders and checkout but shows its pages with a separate front end, such as Shopify's Hydrogen framework or Next.js. To tell, view the page source: a normal store has a Shopify.theme line, a headless one does not, yet its images still load from cdn.shopify.com and its checkout is Shopify's. The Shopify Store Inspector labels these stores as headless for you.
What headless means on Shopify
A normal Shopify store has two halves that come together: Shopify stores the products and runs the checkout, and a Shopify theme turns that data into the pages shoppers see.
A headless store keeps the first half and replaces the second. The pages are built by a separate application that asks Shopify for products and carts through Shopify's Storefront API. That application can be built with Hydrogen, Shopify's own React framework, usually hosted on Shopify's Oxygen hosting, or with a general framework such as Next.js hosted elsewhere.
How to tell if a store is headless
- No Shopify.theme in the page source. Every store that uses a theme publishes it. Search the source for Shopify.theme; if it is missing but other Shopify signs are there, the store is almost certainly headless.
- Images still come from cdn.shopify.com. Product images on headless stores are usually still served from Shopify's file storage.
- The checkout is Shopify's. Add something to the cart and go to checkout. Headless stores hand over to Shopify's checkout, often on a separate subdomain such as checkout.brand.com.
- No shopify-section markup. Theme pages are built from sections, and their HTML contains IDs starting with shopify-section-. Headless pages don't.
- A detector says so. The Shopify Store Inspector checks these signs and labels the store as a custom or headless storefront.
What changes when a store is headless
- No theme editor. Page changes go through code or a separate content system, not Shopify's drag-and-drop editor.
- App embeds don't work. Apps that add widgets to themes, such as reviews, popups or upsells, have to be connected in code through the app's API or SDK, if it offers one.
- Everything is custom. Search, filters, cart and SEO tags are built and maintained by the developers, not inherited from a theme.
- Checkout stays Shopify's, so payments, discounts and checkout apps keep working as they do on any store.
When headless is worth it
Headless makes sense when a brand needs something a theme genuinely can't do: content and commerce mixed in ways sections can't handle, several storefronts sharing one catalogue, or a front end owned by an in-house engineering team.
It is a poor fit when the main goal is speed or a fresh design. A well-built theme on Online Store 2.0 can be fast and flexible, and it costs far less to run, because every change, app and update on a headless store needs a developer.