Custom storefronts

Commerce is constantly evolving. As a developer, you can build commerce integrations in all the places where merchants want to sell and where their customers want to buy. This guide introduces you to building headless with Shopify by explaining custom storefronts, how they work, and how they accelerate your commerce development.

Written By Anuj Rajput ()

Updated at April 6th, 2023

What is a custom storefront?



nchor link to section titled "What is a custom storefro
A custom storefront is a model of building headless, where the frontend and backend of your storefront are independent of each other. You build the frontend. Merchants use Shopify's commerce engine behind their bespoke storefront experiences.



How custom storefronts work.....



Anchor link to section titled "How custom storefronts
A custom storefront is designed, built, and managed by you. This is the frontend. You can use your preferred tech stack and a development framework that you already know to build faster. You build headless by integrating your custom frontend with Shopify's powerful commerce primitives, capabilities, and backend operations.


Options for building headless :

There are many options to build custom storefronts that integrate with Shopify using the Storefront API.

The Hydrogen stack is Shopify's opinionated fullstack approach. There are alternative tools and options for any stack that you might choose.


The Headless channel :

Make headless and self-hosted Hydrogen experiences possible in the Headless channel without needing to create a custom app.

The Headless channel provides a single place to create and manage access tokens for the Storefront API. You can use the channel to create multiple custom storefronts. Storefronts that you create through the channel automatically include public and private access tokens with shop permission for the Storefront API. In the channel you can rotate your private access token and manage storefront permissions.

Additionally, the channel gives you all of Shopify's channel features, such as product publishing and order attribution, and analytics and reporting sales by channel. Order attribution is at the channel level, not the storefront level.