@suluk/email - v0.2.0
    Preparing search index...

    Function orderConfirmationEmail

    • Order confirmation — renders a line-item table + total (amounts formatted via Intl in the given locale), and an optional "Shipping to" block when the order ships a physical good. shippingAddress is one display line per array entry (e.g. ["Jane Doe", "12 Oak St", "Austin, TX 78701", "US"]); entries are HTML-escaped here defensively.

      Parameters

      • params: {
            orderNumber: string;
            items: OrderLine[];
            totalCents: number;
            currency: string;
            locale?: string;
            orderUrl?: string;
            shippingAddress?: string[];
        }
      • ctx: TemplateContext

      Returns RenderedEmail