Liquid Theme Development
A Shoppex hosted theme is now a Liquid source package rendered by Shoppex. That means a theme is mostly:.liquidlayout, section, and snippet files- CSS and static assets
theme-package.json,schema.json, andsettings.json- small markup hooks for the platform commerce runtime
Theme vs SDK
Liquid theme = hosted Shoppex storefront UI. Storefront SDK = browser/headless custom storefront helper. Simple examples:- Use Liquid when you edit the storefront served by Shoppex on
your-shop.shoppex.ioor a custom domain. - Use the Storefront SDK when you build your own Next.js, React Native, Astro, or plain HTML storefront outside the Shoppex hosted theme runtime.
Runtime Shape
Liquid source is validated
Shoppex validates
theme-package.json, declared templates, safe tags, safe URLs, and package size before publish.Shoppex renders HTML
Shoppex renders pages from the validated Liquid package and the storefront data prepared for the current request.
The storefront is served at the edge
Shoppex routes domains, serves assets, caches live pages, and refreshes rendered HTML when needed.
Start Here
Quickstart
Pull a Liquid theme locally and understand the file shape.
Hosted Theme Sync
Pull a real hosted theme, run
shoppex theme dev, push a validated draft, then preview and publish.Package Format
Required Liquid files, manifest entries, sections, snippets, assets, and block registry.
Cart & Checkout
Markup hooks for product forms, cart drawer, coupons, and hosted checkout handoff.
What Liquid Templates May Do
Liquid templates own presentation:- markup
- CSS classes and hooks
- Builder markers
- light conditions such as showing or hiding a block
- static
rendercalls to declared snippets
- no stock calculation
- no price calculation
- no product sorting
- no checkout rule decisions
- no fallback data for missing platform contracts