Shopify Builds>Primitives>Storefront password form

Storefront password form

Definition

The storefront password page is what a locked Shopify store serves to visitors who aren't signed in. It renders from its own layout and template, outside the normal theme chrome, and carries two forms — a storefront_password form that unlocks the store for staff and testers, and a customer form for collecting email signups while the store is closed.

Documented at https://shopify.dev/docs/storefronts/themes/architecture/templates/password.

How we've used it

The password page is easy to forget and easy to break, because it renders from its own layout and inherits nothing automatically. Two things have to reach it. First the design system — the same head that emits the theme's CSS custom properties, licensed fonts and preloads has to run here too, or the holding page loads in fallback type while the live store doesn't. Second, anything that has to act before the response is written: a page builder whose content handler short-circuits the request can only be included above the doctype, with its head snippet inside the head. We add the hooks and leave the rest of the vendor layout alone, so the page keeps the store's real boot sequence instead of a second copy of it that drifts.

Builds using it

One gated build uses it; its page follows.

Related entities

Theme architecture · CSS custom properties · Customer account forms · Theme settings schema