Zero

Developer docs

Zero is a theme and a set of modules for Magento Open Source 2.4: server-rendered HTML, HTMX and Tailwind CSS, no RequireJS, jQuery or Knockout. These pages are the same docs that ship in the theme's docs/ folder.

Getting started

Install, where things are, the four ideas behind every page, and your first change.

Read

Moving a store to Zero

From Luma or a custom theme: the compat report, payments and shipping, the look, testing, the switch and back.

Read

Building the CSS and JavaScript

The pipeline: Tailwind and the module styles, the plain JS files, the commands, when to rebuild, the deploy.

Read

Extensions on Zero

Module styles, JavaScript rules, compat modules for third-party extensions, pages on another theme, and the building blocks Zero_Core offers.

Read

Child themes

A store's own look on top of Zero: tokens, overrides, templates, deployment.

Read

Component library

Every UI component rendered live with its code, at /zero/ui/ on a Zero store.

Read

Performance

What the PageSpeed score rests on, the budgets, what to keep to when adding a module, a theme or content, and how to check before a deploy.

Read

Zero CMS

Pages built from components in the admin editor, with revisions, preview and an AI writer.

Read

Zero Blog

Posts, categories, tags, authors, comments, RSS and imports from WordPress, Magefan and Amasty.

Read

Analytics and consent

GA4 e-commerce events with Google Consent Mode v2, behind the cookie consent banner.

Read

Social login

Sign in with Google, Apple and Facebook, and how accounts are matched safely.

Read

Upgrading Zero

Updating the packages, rebuilding the CSS, checking your template overrides, going back.

Read

Troubleshooting

The usual first-week problems: dead widgets, missing classes, cached visitor data, CSP, payments, images.

Read

Contributing

Issues, pull requests, compat modules for popular extensions, and the docs themselves.

Read