Changelog
Changes to the theme contract and to this documentation, newest first.
30 November 2026
- Documented back-in-stock alerts:
POST /back-in-stock/subscribe.jsand/back-in-stock/subscribe/save a "notify me" sign-up from an out-of-stock product page, and the platform e-mails the visitor when the product can be bought again. The endpoints already worked; they were missing from these docs.
29 November 2026
- Footer menus with nested links: in the
basetheme (1.19.0) a top-level link that has sub-links becomes its own footer column, with the link as the column heading. Links without sub-links stay in the menu column. category.image- the category image set in Catalog → Categories, next to the icon.children.jsongives it asimage. Thebasetheme (1.17.0) shows it as a banner on the category page.category.additionalDescription- a second rich text description of the category. Thebasetheme (1.18.0) shows it below the products on the first page.- A guide to the fields of a store category on its page: The category page.
PATCH /themes/{id}in the theme API marks a theme as managed outside the store (managed_by, for example a ShopDepot Studio draft). Package updates - nightly, the Update button and reset - no longer overwrite its code. The theme object hasmanaged_byandavailable_update.- Writing
config/settings_data.jsonthroughPUT /themes/{id}/files/{path}(for exampleshopdepot theme push --only config/settings_data.json) now applies itscurrentvalues to the theme's settings in the store. Before, the file was saved, but the storefront kept the old settings. GET /samplein the theme API says what each category has:heading,image,icon,icon_vector,has_description,has_additional_description.
28 November 2026
- Alternate category templates:
templates/category.<suffix>.json, chosen per store category in Catalog → Categories. See Alternate templates.
22 November 2026
- The chat widget belongs to the platform. When the merchant turns the chat on, it is added to every page of the theme, with its own styles. Themes no longer include it. See The chat widget.
- The
<head>gets the CSS of only the sections and blocks used on the page. The rest of_sections.cssloads after the page has loaded, so sections added later by JavaScript still get their styles. - Theme JavaScript in
assets/*.jsis minified. Files named*.min.jsare left as they are.
21 November 2026
category.icon- the category icon set in Catalog → Categories, an image or an SVG.children.jsongives it asiconandicon_vector.category.heading- the H1 of the category page, the name when left empty.- SVG files in the media library: they are cleaned on upload (no scripts or external references) and have no renditions.
file.vectorsays a file is an SVG. - Pre-orders:
variant.stockStatuscan beonpreorder, withvariant.preorderandvariant.preorderDate;product.preorderandproduct.preorderDatefor the variant the page shows.query_products('preorder')lists offers in pre-order, nearest shipping date first.
15 November 2026
- The MCP server at
https://shopdepot.dev/mcp: AI assistants search and read the docs, look up reference entries and check theme files against the save rules. Connect it to Claude, Cursor or VS Code. - The
shopdepotCLI. Install it withcurl -fsSL https://shopdepot.dev/install.sh | sh:theme init,pull,push,devwith a live preview,check,openandpackage. It works with developer tokens created in Appearance → Themes → Developer access. - The theme API - the HTTP API behind the CLI, for your own tooling.
- Theme files written by a developer (code editor, CLI, API) are now checked against the Twig sandbox when they are saved, not only when a page renders. A template that calls something the sandbox does not allow is refused with the reason.
- shopdepot.dev launched. Guides for theme developers and a reference generated from the platform code: objects, filters, functions, tags, setting types, page types and core sections.
- Every page is available as Markdown (
.mdafter the address), with/llms.txtand/llms-full.txtfor AI assistants. - Variant pictures:
variant.featuredMedia. Galleries show the variant picture first when a variant is chosen. - Several discount codes in one cart (up to five):
/cart/discount.jsadds a code,removetakes one off, and/cart.jslists them indiscount_codes. In Twig:cart.discountCodes. See Discount codes. image_tagadds asrcsetwith the renditions of a media library image (320 to 2400 px). Give it an honestsizes. Seeimage_tag.- PNG and JPG files in
assets/get a WebP copy automatically, andasset_urlserves it. See Images that belong to the theme.
14 November 2026
cart_summary()- the platform cart summary with coupon, discounts, delivery and total. Coupons apply in place and fireshopdepot:cart:changed.form('contact')- the contact form as a platform component with stablesd-form__*classes, extra fields and a fixed subject.
13 November 2026
- Alternate product templates:
templates/product.<suffix>.json, chosen per offer. - Page templates by address:
templates/page.<last segment>.json. templates/404.jsonrenders the store's not found page.cart.shippingFromandshipping_fromin/cart.js- the cheapest delivery computed like checkout.cart.taxTotal- the VAT included in the cart total, for "including X tax".- Product option fields (engraving, gift wrap, size):
product.optionFieldson the product page, sent with the add-to-cart form asproperties[<field id>]. See Add to the cart. query_productstakesin_stockto leave out offers that cannot be bought.
12 November 2026
- Menu levels on demand:
link.hasChildren,link.childrenUrland/categories/<handle>/children.json. - Feature index layout settings:
feature.layout,feature.showAlphabet,feature.showSearch,feature.showCount,feature.sort. - The platform writes the document
<title>from the store's SEO templates;seo_titleis available to layouts.
11 November 2026
- The core section library grew into store sections:
hero-tiles,product-list,term-grid,logo-wall,newsletter,testimonials,post-list,faq. A theme file with the same name replaces a core one. - Data functions
query_products,query_posts,query_terms. - Images without a
loadingattribute are lazy by default - give the first visible imagefetchpriority="high". - Storefront HTML is minified; pages are cached for all visitors.