diff --git a/README.md b/README.md index 2828ada..b442787 100644 --- a/README.md +++ b/README.md @@ -1516,8 +1516,16 @@ than two subdomains. - The *real* send always reads the **published** template (`getEmailTemplate()` in `app/lib/payload.ts`, `draft` unset) — a Live Preview edit never affects a live customer email until actually saved. +- **`active` toggle (2026-07-25)** — each row now has an `active` + checkbox (backend `EmailTemplates.ts`); off suppresses the send + entirely, checked here for `order-confirmation` + (`orderEmail.ts`'s `sendOrderConfirmationEmail()`) before the hardcoded + default-wording fallback ever applies. See the backend repo's own + README ("Email templates: active/inactive toggle") for the full + picture, including the `password-reset` exception (Payload's core + `forgotPassword` operation has no hook to actually cancel that send). - `npx payload run src/seed-email-templates.ts` (Payload repo) seeds - defaults for all 6 rows — deliberately on-brand and a little playful + defaults for all 9 rows — deliberately on-brand and a little playful ("Bestellt!" / "Kein Drama." / "Unterwegs!" / "Storniert." / "Alles klar." / "Alles erledigt.", not generic transactional-email boilerplate), matching this site's voice elsewhere (see e.g. the