Theme .zip upload

Upload a theme as a .zip.

Install a theme package in a few clicks. It is checked before anything is saved, you can keep two drafts, and every theme stays editable in the customizer and the code editor.

Overview

A theme package is a folder of settings, sections, styles and optional sample content, zipped into one file. Uploading it adds a new theme to Online store → Themes that you can preview, customise, edit as code and publish like any other.

Checked first

Nothing is saved until every file passes the checks.

How it works →
Two drafts

Keep two uploaded themes ready while another is live.

Draft rules →
Optional dummy data

Add sample images and text so the theme looks finished.

Dummy data →
Fully editable

Each theme has its own code and customizer settings.

Per-theme code →
Building a theme? The Theme building guide explains how to make a package that passes these checks. Want an AI to build it for you? Copy the theme prompt.

Upload a theme

  1. Open your themes. In the admin, go to Online store → Themes.
  2. Press Upload theme. The button is in the Draft themes section. It is disabled when you already have two drafts.
  3. Choose the .zip file. Drop it on the box or click to browse. The file can be up to 28 MB.
  4. Read the check result. The theme is checked straight away and nothing is saved. You see the theme's name and a plain-language list of any problems (see Fixing errors). Warnings do not stop the upload.
  5. Decide on dummy data. If the package includes sample content, the Add dummy data box is enabled (see below).
  6. Press Upload theme. The theme is installed as a draft. Open it with Customize or Edit code, or publish it when you are ready.
Safe to try. A new upload never changes your live theme. It becomes a draft until you publish it.

Preparing the zip

The zip must contain the package files at its top level, in this layout:

theme.manifest.json
config/theme.json
sections/*.flys
snippets/*.flys
assets/custom.css
assets/custom.js
layout/head.html
layout/body-end.html
demo/content.json
demo/media/*
  • Required: config/theme.json and a theme name in theme.manifest.json. Everything else is optional.
  • README, LICENSE and .md / .txt files are allowed and ignored. Any other file is ignored with a warning.
  • Use a standard zip. Password-protected archives, Zip64 archives, symbolic links and unsafe paths are refused.
  • If you build themes yourself, node scripts/build-theme-zip.js themes/<handle> runs the same checks and writes the zip for you. See Build and check.

Add dummy data

When the theme includes a demo/ folder, the upload dialog offers an Add dummy data checkbox.

ChoiceWhat you get
TickedThe theme's sample images, videos and text are added. The media is saved to your Files library, so it counts toward your storage.
UntickedThe clean theme only: the same layout with empty images and neutral text, ready for your own content. Nothing is uploaded.

Dummy data is text, images and videos only. It never adds products, collections, pages or menus. The choice is made at upload time. To change your mind, delete the draft and upload it again.

Draft themes

  • A store keeps at most 2 uploaded themes that are not live, plus any number of built-in themes.
  • The live uploaded theme does not count toward the two.
  • Uploading a third is refused until you delete one.
  • Uploaded themes cannot be used in A/B theme tests.

Storage

Uploaded themes share your store's storage allowance with the Files library. These all count:

  • Theme code and earlier saved versions of it
  • The theme's settings and package data
  • Dummy data media, if you added it
  • Everything in the Files library

The upload dialog shows how much space is free. If the theme would not fit, the upload is refused before anything is saved. Deleting a draft frees its dummy media (unless you used a file elsewhere), its sections and its code.

Theme code

Each uploaded theme has its own custom.css, custom.js, head.html and body-end.html. They apply only while that theme is live or being previewed in the customizer, so one theme's styles never leak into another.

  • The code editor shows and edits the live theme's own copy.
  • Custom sections and snippets are shared across your store.
  • If your plan does not include the code editor, the theme installs without those four files. Its sections still work, and you are told so.

Name clashes

Sections and snippets live in one store-wide set of files. When an uploaded theme brings a section whose name already exists with different content, the incoming one is renamed automatically (ember-promo becomes ember-ember-promo). References inside the theme are rewritten to match. Identical files are reused. Your own sections are never overwritten.

Reset and delete

  • Reset to defaults in the customizer rebuilds an uploaded theme from the package as it was installed, including dummy data if you ticked it.
  • Delete a draft from the ⋯ menu of its row in Draft themes. You cannot delete the live theme (publish another one first) or a theme used in an A/B test (remove it from the test first).

Fixing errors

Every problem is shown in plain words with the file it came from. Fix it in the package, zip it again and choose the file once more.

MessageWhat to do
That is not a zip file / The zip file is damagedRe-create the zip with your system's standard "compress" tool.
Password-protected or Zip64 archives are not supportedCreate a normal, unprotected zip.
The zip holds too many filesThe limit is 300 files. Remove files that are not part of a theme.
The package needs config/theme.jsonPut config at the top level of the zip, not inside an extra folder.
… is not valid JSONFix the syntax in the named file (a missing comma or quote).
The theme needs a nameAdd "name" (2 or more characters) to theme.manifest.json.
… is too largeEach code file can be up to 200 KB. Split it up or trim it.
The file name must be lowercase letters, numbers and hyphens, ending in .flysRename the section or snippet file, for example promo-band.flys.
sections/….flys: (Liquid or schema error)Open that file in the code editor and use its error message and line number.
assets/custom.js has a JavaScript errorFix the syntax error in the script.
These section types do not existUse built-in section types, or add the custom section to the package.
A home page can have at most 30 sectionsRemove sections from config/theme.json.
demo/content.json points at @demo/…, which is not in demo/mediaAdd the file to demo/media/ or remove the token.
This file type is not allowedDemo media can be png, jpg, webp, gif, svg, mp4 or webm.
The demo media is too largeAll demo media together must be under 15 MB.
The demo content changes which sections existDummy data may only change settings. Do not add or remove sections in it.
This store can have 30 custom sectionsDelete unused sections in the code editor, then upload again.
You can keep 2 uploaded draft themesDelete one draft theme, then upload again.
Still stuck? Contact us with the theme name and the exact message you see.

Limits and notes

ItemLimit
Uploaded file28 MB
Files in the zip300
One code file200 KB
Draft themes (not live)2
Dummy data media in total15 MB
Custom sections / snippets in a store30 / 40
  • Uploaded themes cannot be exported back to a .zip yet.
  • Signature controls (sig* settings) are not available for uploaded themes.