alepha@docs:~/framework/docs/reference/providers$
cat OrderMailRenderer.md | pretty
1 min read
Last commit:

#OrderMailRenderer

#Import

typescript
1import { OrderMailRenderer } from "@alepha/commerce/notifications";

#Overview

Writes the customer-facing order emails.

Abstract because these two messages are the most brand-sensitive text a shop sends. The default below is deliberately plain prose in the shop's language, from CommerceTexts: correct, complete, and obviously meant to be replaced:

ts
1alepha.with({ provide: OrderMailRenderer, use: AtelierAuroreMails });