Shops theme developer guide
Build a theme, test it with a real catalogue and export one file your customers can install.
On this page
Install a theme in your shop
Open the target Shops space as an owner or administrator and go to the storefront editor. If you have work in progress, save and export that draft before replacing it.
- Open Theme files, select Install theme file and choose the developer’s Emnaro JSON file. The editor loads the new design into a draft.
- Preview the design using your own products. Review the header, footer, product links, cart and phone layout. Replace any sample store copy.
- Save any changes and publish when ready. Earlier published designs remain available in the storefront editor.
Build, export and test your theme
Use a development shop with sample products to see the design in context. The buyer’s shop supplies its own product catalogue, collections, stock, orders, policies and checkout settings.
- Choose a base theme, configure colours and layouts, then arrange sections and custom rows in the builder. Keep the opening section and catalogue in the layout.
- Save the design and select Export draft theme under Theme files. Review its copy for sample business details you should replace or remove.
- Import the exact package into a second shop. Check catalogue browsing, product pages, the cart and checkout at phone and desktop widths before giving the file to buyers.
Shops theme file format
Use UTF-8 JSON with format emnaro-storefront-theme, integer version 2, a name and a design object. A version 2 file can be up to 256 KiB. Existing version 1 files up to 64 KiB still import with their original base design and content.
The theme format uses typed settings and builder blocks. PHP, JavaScript, raw HTML, CSS, SVG and Shopify Liquid are outside the format.
design.theme_id- A supported base theme ID. Its normal licence requirements apply to the receiving shop.
design.appearance- Optional settings for header, footer, hero, product_grid, font, colors and footer_note. Colours use six-digit hexadecimal values with a leading #. Download the starter or export a draft to see the settings in context.
design.appearance.hero_image- Optional still JPEG, PNG or WebP up to 96 KiB decoded, up to 2,400 pixels per side and four million pixels overall. Provide mime_type, alt and data as plain base64 without a data URL prefix.
design.builder- Optional rows and columns containing the IDs of built-in sections or typed custom elements. Place every element once and include hero and catalogue.
If a Shops theme won’t install
Open the correct Shops space, check that its storefront editor is configured, then compare the file with a current export. If the base theme requires a licence, the buyer needs access to that base theme before applying the design.