## Summary

*"zip does not contain a valid theme: missing template "layout/theme.liquid""* means Shopify opened your zip file and could not find `layout/theme.liquid` at the top level. Almost always the theme itself is fine and the zip is packed wrong: the files sit one folder too deep, the zip holds another zip, or you uploaded the download package instead of the theme inside it.

This guide shows how to check the zip in a minute and repack it so the upload works. If you would rather hand it over, SazM offers an affordable Shopify theme upload fix for a **fixed $99 price, delivered within 48 hours**, entirely in writing: no calls, no project manager, one senior developer.

## What Shopify Expects Inside the Zip

Shopify reads the zip from its root. These folders must be at the top level, not inside another folder:

```text
assets/
config/
layout/theme.liquid      # required: the upload fails without it
locales/
sections/
snippets/
templates/
```

Online Store 2.0 themes also have JSON templates in `templates/` and section groups in `sections/`, but the required file is the same: `layout/theme.liquid`.

## Check the Zip First

List the contents without unpacking:

```bash
unzip -l theme.zip | head -20
```

Read the first paths:

- `layout/theme.liquid` at the start of a path: the structure is right, so look at the other causes below.
- `my-theme-main/layout/theme.liquid` or `Theme/layout/theme.liquid`: everything is one folder too deep. This is the most common cause.
- Only `.zip`, `.pdf` or `Documentation/` entries: you uploaded the marketplace download package, and the real theme zip is inside it.
- No `layout/` folder anywhere: this is not a full theme (for example a sections-only export or a single app block), or files were lost when it was copied.

On Windows, open the zip in File Explorer and check that `layout`, `templates` and `assets` are the first things you see.

## Quick Fix Breakdown (DIY)

- **Zip the contents, not the folder.** Go inside the theme folder and zip what is in it:

```bash
cd my-theme
zip -r ../my-theme-upload.zip assets config layout locales sections snippets templates -x '*.DS_Store'
```

On Windows, open the theme folder, select all the folders inside it, right-click and choose *Send to → Compressed (zipped) folder*. On a Mac, select the folders inside the theme folder and choose *Compress*, rather than compressing the theme folder itself.

- **Unpack marketplace downloads.** Theme marketplaces often deliver one zip with documentation, licences and the actual theme zip inside. Unzip the package once and upload the inner theme zip, untouched.
- **GitHub downloads add a folder.** "Download ZIP" on GitHub wraps everything in `repo-name-main/`. Repack as above, or push from the repository with Shopify CLI instead of uploading a zip.
- **Use Shopify CLI for theme code you develop.** From the theme folder:

```bash
shopify theme check                # catches missing or broken files before upload
shopify theme push --unpublished   # uploads as a new, unpublished theme
```

This skips zip packaging entirely and reports exactly which file fails.

- **Restore a missing `theme.liquid`.** If `layout/` is empty or missing, the theme was copied incompletely. Download a fresh copy from the theme's source, or from Shopify admin go to *Online Store → Themes → … → Download theme file* on a working copy and compare.
- **Keep the zip small.** Large video or image files in `assets/` make uploads slow and can push the file over Shopify's upload size limit. Host big media in *Content → Files* instead.

If the zip uploads but the store then shows Liquid errors, see [Shopify "Could not find asset snippets"](/articles/shopify-liquid-error-could-not-find-asset-snippets-fix) and ["is not a valid section type"](/articles/shopify-liquid-error-in-tag-section-not-a-valid-section-type-fix).

## Hand It Over: $99 Fixed, Within 48 Hours

Theme upload problems eat time because the error names one file while the real fault is in how the theme was packed, copied or edited. One developer who checks the package, the theme files and the live store ends the back-and-forth.

What you get for **$99**:

- **A fixed price agreed before work starts.** One issue, one flat fee, no hourly meter.
- **Delivery within 48 hours** of access, uploaded as an unpublished theme first so your live store is never touched until you approve.
- **Fully written, fully async.** You send the theme file or its source, the store URL and what you tried. You get questions, progress and proof in writing. There are no calls, meetings or project managers.
- **Written proof it works:** what was wrong with the package, what changed, and a preview link of the uploaded theme.
- **Money-back guarantee** if the agreed root cause cannot be resolved.
- **Safe access only:** a Shopify collaborator or staff account with theme permissions that you can remove afterwards. Never send passwords through the inquiry form.

Behind it: 20+ years in production (since Oct 2006) and 100+ projects in the portfolio.

**[Get your Shopify theme fixed for $99 →](/shopify-theme-broken-after-update-fix)** · [Queue an urgent fix](/checkout/emergency) · [See past projects](/projects)

## Frequently Asked Questions

### What does "zip does not contain a valid theme: missing template layout/theme.liquid" mean?
Shopify could not find `layout/theme.liquid` at the top level of the zip. Usually the theme files are inside an extra folder, or the zip contains another zip. Repack it so `layout/`, `templates/` and `assets/` are at the root, and the upload works.

### Why does my theme from GitHub or a marketplace fail to upload?
GitHub wraps the files in a `repo-name-main` folder, and marketplaces often ship a package with documentation and the real theme zip inside. In both cases Shopify sees the wrong top level. Upload the inner theme zip, or repack the contents of the theme folder.

### Can I upload a Shopify theme without a zip?
Yes. Shopify CLI can push a theme folder directly with `shopify theme push --unpublished`, which creates a new unpublished theme and reports any file that fails. Run `shopify theme check` first to catch problems.

### Will re-uploading a theme affect my live store?
No. An uploaded theme is added to your theme library unpublished. Your live theme keeps running until you choose to publish the new one, so you can preview it first.

### How much does it cost to fix a Shopify theme upload error?
SazM fixes one issue for a fixed $99, delivered within 48 hours, with a money-back guarantee if the agreed root cause cannot be resolved. Typical agency hourly rates are higher and open-ended, while very low marketplace gig prices rarely include root-cause diagnosis, a safe unpublished test or a guarantee.
