Create a theme
Get a development store, install the CLI, start from the reference theme and see your changes live.
This guide takes you from nothing to your own theme running on real store data. You need a code editor, a terminal and a ShopDepot development store.
1. Get a development store
A development store is a separate ShopDepot account made for building: it has no plan limits, no billing clock, and paid themes are fully editable and publishable there. Development stores are created by the ShopDepot team today - write to us from shopdepot.pl and we set one up with sample categories and offers. Self-service partner accounts are on the roadmap.
Tip
Build against data that looks like your target merchants'. A theme tested on three products with one photo each will break on a catalogue with long titles, many variants and no images.
2. Install the CLI
curl -fsSL https://shopdepot.dev/install.sh | sh
On Windows, download the .exe from the CLI page. Then create a developer token in the development store (Sales channels → Stores → your store → Appearance → Themes → Developer access) and connect:
shopdepot login
3. Start from base
Every ShopDepot theme starts as a copy of base, the free reference theme. It covers every page type, uses the conventions the theme store checks for, and is small enough to read in an afternoon.
shopdepot theme init example
cd example
init downloads base into a new folder and gives the copy its own identity: the handle becomes example and the version 0.1.0. Fill in the rest of theme.json - the handle identifies your theme in the registry and cannot be changed later:
{
"name": "Example",
"handle": "example",
"version": "0.1.0",
"author": "Example Studio",
"description": "A calm theme for small catalogues."
}
See theme.json for every key.
4. Look around
example/
├── theme.json the manifest
├── layout/theme.twig the HTML shell of every page
├── templates/*.json which sections each page type shows
├── sections/ sections, in folders if you like
├── blocks/ theme blocks the merchant can nest
├── snippets/ partials for developers
├── assets/ CSS, JavaScript, fonts, images
├── config/ the theme settings schema and starting values
└── locales/ storefront texts in each language
Open templates/product.json and follow it: it names the main-product section, which renders blocks like price and buy-buttons, which call snippets like product-card. That path - template → section → block → snippet - is the whole architecture. Architecture explains it properly.
5. Push and preview
Upload the folder as a new draft theme, then start the development loop:
shopdepot theme push --new
shopdepot theme dev
dev prints a preview link and uploads every file as you save it. Open the link: it shows your theme on the store's real data without publishing it. Change a colour in assets/css/base.css or a line in sections/content/hero.twig, save, refresh.
A file the platform refuses - a Twig syntax error, a filter the sandbox does not allow, a path outside the file contract - is reported in the terminal with the reason and is not saved, so the preview keeps working on the previous version.
In the admin, under Appearance → Themes, the theme is in the library as a draft. From there you can also Customize it in the theme editor, exactly as a merchant would, and Publish it to make it the live theme of the development store.
6. Check and package
Before you show the theme to anyone, run the checks and build the package:
shopdepot theme check
shopdepot theme package
check runs every file through the platform's rules and points out common mistakes. package writes example-0.1.0.zip with exactly the files the platform accepts. Bump version in theme.json before each package you hand over - versions are never overwritten.
Note
You can still work without the CLI: zip the folder with theme.json at the top and use Appearance → Themes → Upload your own theme in the admin. The upload screen lists every file the contract left out - check it, because a missing font or image shows up later as a 404.
7. Keep going
- Read Sections and blocks before you add your first section.
- Keep the Twig sandbox rules in mind - templates that break them do not save.
- Every command and option: ShopDepot CLI.
- Run through the review checklist before you submit the theme.