Liquid Runtime And Storefront SDK
Liquid hosted themes and custom headless storefronts use different runtime models.Quick Decision
| You are building | Use |
|---|---|
| Hosted Shoppex theme | Liquid templates plus the platform commerce runtime |
| Custom browser storefront outside Shoppex hosting | @shoppexio/storefront |
| Trusted backend integration | @shoppexio/sdk and /dev/v1/* |
@shoppexio/storefront.
Hosted Liquid Runtime
Hosted Liquid themes get platform HTML and scripts from the render context:- variant selection
- stock checks
- quantity clamping
- cart payload creation
- coupons
- hosted checkout redirect
Storefront SDK Runtime
Use the Storefront SDK in browser/headless custom storefronts:@shoppexio/sdk into a browser. That package is for trusted backend Developer API calls.
Product Images
Storefront product payloads expose different image fields:cdn_image_urlfor compact cards, listings, search, and cart rowsdetail_image_urlfor product detail heroes and galleriesimagesfor full gallery work
Local Dev Data
Liquid local dev supports fixtures and live shop data:Next Steps
Cart & Checkout
Liquid markup hooks for commerce behavior.
Storefront SDK
Browser SDK for custom storefronts outside hosted themes.