After a customer completes payment in your shop (cart), they receive an order confirmation email.
Which email gets sent
The system looks for an enabled email template on your site in this order, sends whichever one it finds first, and skips the system default (so customers never get two emails):
order-confirmed— a dedicated "Order confirmed" template. Create this one if you want it separate from your course-access emailshop_order_confirmed— this matches the system default's own name, so it's recognized toopurchase-success— the "Purchase successful" template every site starts with
Only if none of the three exist (or all three are disabled) does the system send its own default confirmation. If you've separately set up an automation rule for "Payment succeeded → send this template," that rule is already doing the sending, so the system's email won't be sent either.
Two cases where the system email gets sent instead (because key information can't be left out)
- The order includes a digital download, but your template doesn't include
{{ downloadUrl }}or{{ downloads }} - The order is for pickup / dine-in / delivery, but your template doesn't include
{{ fulfillmentWhen }}(customers need to know when to pick it up)
Variables available in the template
{{ orderId }} order number, {{ orderDate }} order time, {{ orderItems }} what was bought (each item × quantity), {{ orderTotal }} total amount, {{ orderCurrency }} currency, {{ shippingAddress }} shipping address, {{ downloadUrl }} / {{ downloads }} download links, {{ fulfillmentLabel }} {{ fulfillmentWhen }} {{ fulfillmentAddress }} fulfillment method and time, {{ ctaUrl }} link to view the order. Have the AI call list_merge_fields to see the full list of variables.
Which time zone the order time uses
It follows the site time zone set in "Site Settings" (the same clock your admin order list uses), and includes the time zone abbreviation. If no time zone has been set, it defaults to the platform's default, Shanghai time — if your shop is in a different time zone, go change it in "Site Settings."
What the AI can do for you
- "Help me customize the order confirmation email" → The AI calls
upsert_email_templatewith the slugorder-confirmed - After editing, have the AI call
get_email_templateto read it back and confirm, then place a test order to see the actual email you receive (list_email_logsshows which template was actually sent)