How a Stokzone storefront works
Every Stokzone storefront is rendered from a theme. The engine that renders it is called Zone: it speaks a Liquid-compatible template language, theme files use the .zone extension, and pages are produced as HTML on the server.
The Zone theme engine
When a visitor opens a store URL, Zone resolves the page type (home, product, collection, cart...), finds that type's template, renders the template's sections in order and places the result inside the theme layout.
The language reference is generated from the engine's own registry. Today it supports 30 tags, 145 filters and 134 objects.
The visual editor and the code editor edit the same theme
The visual editor writes page layout as JSON templates: which section, in which order, with which settings. The code editor edits the theme's files (layout, sections, snippets, assets) directly. Both work on the same theme files; a section added in the visual editor shows up in the matching JSON template in the code editor.
Drafts and publishing
Page changes made in the visual editor go to a draft first; visitors keep seeing the old layout until you publish. Publishing writes the layout into the theme's JSON template.
A file saved in the code editor is written straight into the theme, and every save is kept as a version. Make code changes on a copy of the theme rather than on the published one, and publish that theme when it is ready. A store has exactly one published theme at a time.
Theme settings have no draft: they take effect as soon as they are saved.
Theme package
A theme's page layouts and settings can be exported as a single package file and imported into another store. See the Packaging page for details.