// the find
thomasKn/astro-shopify
A lightweight and powerful ecommerce starter theme to build headless Shopify storefronts with Astro.
A headless Shopify storefront starter built with Astro and Svelte, using the Storefront API via GraphQL. Targets developers who want to own the frontend completely while keeping Shopify as the commerce backend. Good starting point if you need to ship something real and don't want to build the cart/checkout plumbing from scratch.
Svelte stores for cart state is the right call — reactive, lightweight, no Redux ceremony. GraphQL against the Storefront API is typed via .graphqlrc.yml, so you get codegen-ready from day one. Lighthouse screenshot shows solid performance numbers, which is the main reason to go headless in the first place. The Astro islands architecture means interactive cart components ship JS only where needed — product pages stay mostly static.
Only two routes exist (home and product detail) — no collection pages, no search, no account flow. You're not getting a store, you're getting a proof of concept. The private Shopify token is used server-side but the setup guide treats it almost casually; anyone who accidentally exposes it in a client bundle has a bad day. No i18n or multi-currency handling despite headless being the usual reason to need those. Last meaningful update was 2023 based on the screenshot timestamps — Astro has moved significantly since then and there's real risk of dependency drift.