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.

4 minread 777words last updated

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 themeHeadless with Astro
Who renders the pagesShopify’s theme engineYour storefront, built and hosted separately
Speed on phonesGood, if apps and images are disciplinedFast by construction; finished pages from the edge
Speed ceilingLimited by the theme system and any app scriptsLimited only by what you build
Design freedomHigh, within theme conventionsTotal
Content pages, blog, guidesWorkable, not the platform’s strengthNative: same fast site, same design
Storefront appsWork as designedDo not apply; functions rebuilt where they earn their place
EditingShopify theme editorContent system or code, via your partner
Checkout, admin, orders, inventoryShopifyShopify, unchanged
Build effortDays to weeksA development project
OwnershipTheme code lives in your Shopify storeStorefront code in a repository you own
Right forAn ordinary storeStores 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

  1. 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.
  2. Volume exists. Enough orders that a measured improvement in mobile speed or conversion covers a development project.
  3. A measured limit remains. Core Web Vitals still failing on product pages, or a design the brand needs that the theme cannot deliver.
  4. Content matters. Guides, a blog, landing pages and campaigns that should live on the same fast site in the same design.
  5. 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.

Written by the CivSec S.M.A.R.T team

We build and run websites, software and AI systems for businesses. We write about what we see in that work, in plain language, and we update articles when things change.

Last checked . Spotted something outdated? Tell us.

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

  1. Shopify developer documentation: Themes (accessed 2026-09-11)
  2. Shopify developer documentation: Headless storefronts (accessed 2026-09-11)