Skip to content
shopdepot.dev

ShopDepot for developers

Build and customize storefronts

A ShopDepot theme is Twig, JSON and CSS that renders a merchant's store. Merchants arrange your sections and blocks in a visual editor; the platform owns checkout, accounts, search and SEO, so a theme stays about how the store looks.

Build your first theme

Start from base, the free reference theme every ShopDepot theme grows from. It shows each page type, the section library and the conventions the theme store checks for.

{# sections/content/hero.twig #}
<section class="hero" {{ section.attributes }}>
  {{ content_for('blocks') }}
</section>

{% schema %}
{
  "name": "Hero",
  "settings": [
    { "type": "image_picker", "id": "image",
      "label": "Image" }
  ],
  "blocks": [{ "type": "@theme" }]
}
{% endschema %}

Develop from your terminal

The shopdepot CLI starts a theme from base, syncs your folder with a development store as you save, prints a preview link and checks every file against the platform's rules before you ship.

curl -fsSL https://shopdepot.dev/install.sh | sh

shopdepot login
shopdepot theme init example
cd example
shopdepot theme push --new
shopdepot theme dev

Build themes merchants can edit

Every setting you declare in a schema becomes a field in the theme editor. Good themes give merchants sections they can rearrange without breaking the layout, and keep the store fast for every visitor.

Work with the platform

Checkout, customer accounts and forms belong to the platform and look the same in every store. Your theme styles them through brand tokens and stable class names, and talks to the store through small JSON APIs.

Sell themes in the theme store

Themes in the catalogue install into any store as a free trial. Merchants preview them on their own products, then buy a licence to customize and publish. Your listing, pricing and demo store ship inside the theme package.

Build with AI assistants

Every page on this site is also plain Markdown: add .md to a page address, or point your assistant at /llms.txt for the whole index. Connect the MCP server at https://shopdepot.dev/mcp and your assistant searches the docs and checks its own theme code against the platform's rules.