Custom theme versus headless: cost, speed, flexibility
A custom theme keeps everything inside the store platform. Headless moves the storefront to code you own. Cost, speed and flexibility compared.
The short answer
Both options give you a store that looks like your brand. The difference is where the pages shoppers see are made. With a custom theme, Shopify renders them, inside its theme system, with your design applied. With headless, a separate storefront that you own renders them, on Astro in our case, and asks Shopify for products, prices and the cart through its APIs. Checkout stays on Shopify either way.
For an ordinary store a clean custom theme is the right answer. Headless is the right answer for a specific kind of store, and it pays to know which kind you are before you spend.
Side by side
| Custom theme | Headless with Astro | |
|---|---|---|
| Who renders the pages | Shopify’s theme engine | Your storefront, built and hosted separately |
| Speed on phones | Good, if apps and images are disciplined | Fast by construction; finished pages from the edge |
| Speed ceiling | Limited by the theme system and any app scripts | Limited only by what you build |
| Design freedom | High, within theme conventions | Total |
| Content pages, blog, guides | Workable, not the platform’s strength | Native: same fast site, same design |
| Storefront apps | Work as designed | Do not apply; functions rebuilt where they earn their place |
| Editing | Shopify theme editor | Content system or code, via your partner |
| Checkout, admin, orders, inventory | Shopify | Shopify, unchanged |
| Build effort | Days to weeks | A development project |
| Ownership | Theme code lives in your Shopify store | Storefront code in a repository you own |
| Right for | An ordinary store | Stores with volume where speed, design or content is a measured limit |
When a custom theme is the better investment
- The store sells in a standard way and the team likes the theme editor.
- Traffic and revenue do not yet justify a development project.
- Speed problems are apps and images, which a clean-up fixes without a rebuild.
- Storefront apps you rely on are doing real work.
When headless pays
- The cheap fixes are done. App audit complete, images processed, theme cleaned. If not, do that first; it is most of the gain for a fraction of the cost.
- Volume exists. Enough orders that a measured improvement in mobile speed or conversion covers a development project.
- A measured limit remains. Core Web Vitals still failing on product pages, or a design the brand needs that the theme cannot deliver.
- Content matters. Guides, a blog, landing pages and campaigns that should live on the same fast site in the same design.
- Ownership matters. A storefront in code you own, movable, extendable, with Shopify doing everything behind it.
The middle path
Many stores take a step in between: a fast Astro site for content, guides and landing pages on the same domain, with the theme still serving products. Shoppers get fast content and one design; the store keeps its theme and apps for now. When the product pages become the measured limit, they move over too, onto a storefront that already exists.
What this means for you
Clean up the theme first, whatever you plan later. Then look at three numbers: your volume, your mobile Core Web Vitals on product pages after the clean-up, and how often the theme stops you doing what the brand needs. If all three point the same way, headless is the next step and the clean store is the right starting point. If they do not, the money is better spent elsewhere, and we will tell you so.
Frequently asked questions
How fast can a custom theme be?
Within Google's targets on mobile, if built with discipline: few apps, sized images, no sliders or video backgrounds, script only where needed. A slow Shopify store is slow because of apps and images, not because it is a theme. A clean theme is the right first step even for a store that will go headless later.
What do we lose with headless?
Storefront apps that inject into the theme, such as review carousels and popups, no longer apply; their functions are rebuilt where they earn their place. The theme editor is replaced by a content system or code changes through your partner. Checkout, admin, orders and inventory are unchanged.
Can we go headless for part of the store?
Yes, and it is a common path: a fast Astro site for content, guides and landing pages, on the same domain, with the theme still serving products for now. When the numbers justify it, product and collection pages move over too. Checkout stays on Shopify throughout.
Is headless more expensive to run?
Hosting for a static storefront is low. The cost is the build and its maintenance as software, which is why volume matters. A store with real traffic where a measured speed or conversion gain covers a development project is the candidate; a store without that volume should spend the money on a clean theme and marketing.
Sources
- Shopify developer documentation: Themes (accessed 2026-09-11)
- Shopify developer documentation: Headless storefronts (accessed 2026-09-11)