Skip to content
SazM Fixed-price website fixes
Find a service or symptom
What needs fixing or building?

Type a symptom (e.g. 502, white screen, hacked, slow ttfb) or a service.

Use arrow keys to browse, Enter to select, and Escape to close.

20 matching options

Client Login Get a fix →

Bug Fixing · 5 min read

Shopify "zip does not contain a valid theme" (missing layout/theme.liquid): $99 Fix

Fix the Shopify upload error "zip does not contain a valid theme: missing template layout/theme.liquid": check the zip, repack it at the right level or push with Shopify CLI, with a $99 fixed-price option.

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:

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:

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:
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:
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" and "is not a valid section type".

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 → · Queue an urgent fix · See past 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.

// SazM ENGINEERING DISPATCH · PRODUCTION REMEDIATION

Senior Engineering Without Agency Overhead

// TRACK A · FIXED-PRICE FIXES (48H SLA)

Single Urgent or Speed Fix

Immediate code-level fixes with zero discovery calls. Emergency root-cause patch within 48 hours for $99, or full Core Web Vitals & speed remediation with before/after audit for $199. 100% money back if the agreed root cause cannot be fixed.

// TRACK B · SENIOR RETAINER & BUILDS

Monthly Plan or Custom Scope

Direct senior-level capacity embedded in your stack. Dedicated monthly engineering ($999/mo, 1 active task at a time, 24–48h PR delivery, pause or cancel anytime), or fixed-scope architectural milestones delivered within a 24h written quote.

✓ 20+ years engineering ✓ 100+ projects in the portfolio ✓ Fixes within 48 hours ✓ 100% money back if not fixed
1 Active Task at a Time
Requests are completed one by one in your priority order. As soon as an active task is shipped, tested, and approved, work starts immediately on your next task within our 24–48h SLA.
48h Emergency SLA
Clock starts as soon as site access details are provided. Delivered with full backup taken first, isolated staging testing, and 100% money back if not fixed.
WordPress Care Plan Scope
Weekly core and plugin updates pre-tested in staging, daily offsite encrypted backups, 24/7 uptime monitoring, and proactive security patching.
Pay Nothing Upfront
Zero upfront payment or credit card required. A 20-Year Senior Engineer diagnoses your issue, reproduces it on isolated staging, and deploys the fix. You only pay once you verify the staging reproduction or production fix.