OrderConfirmationEmail
EmailSipariş onayı makbuzu. Satır kalemleri, ara toplam/vergi/toplam ve kargo adresi.
Order Confirmed!
Order #ORD-20260503-001
Pro Plan — Annual₺999.90
Design System ×2₺300.00
Total₺1,533.88
View Order Details
© 2026 Acme Corp
Live preview// GET /theme/common/email/order/confirmation
res.render('theme/common/email/order/confirmation', {
layout: 'layouts/blank',
subject: 'Order confirmed — #' + order.id,
fromName: 'Acme Corp',
fromEmail: 'noreply@acme.example.com',
toName: user.name,
toEmail: user.email,
company: { name: 'Acme Corp', address: '...' },
order: {
id: order.id,
date: order.createdAt.toLocaleDateString(),
items: order.items, // [{ name, variant, qty, price }]
totals: order.totals, // { subtotal, discount, tax, shipping, total, currency }
shipping: order.address, // { fullName, addressLine1, city, country, postalCode }
viewUrl: '/orders/' + order.id,
},
});
<%
var o = locals.order || {};
var totals = o.totals || {};
var items = o.items || [];
var ship = o.shipping || {};
function fmtTRY(n) { return '₺' + (n || 0).toFixed(2); }
%>
<%- include('../_preview-bar', locals) %>
Order Confirmed!
Order #<%= o.id %>
Hi <%= toName %>, thank you for your order! We've received it and will start processing shortly. You'll get a shipping notification when it's on its way.
Order Summary
<% items.forEach(function(item) { %>
<%= item.name %>
<% if (item.variant) { %><%= item.variant %>
<% } %>
Qty: <%= item.qty %>
<%= fmtTRY(item.price * item.qty) %>
<% }); %>
<% if (totals.discount > 0) { %>
Discount-<%= fmtTRY(totals.discount) %>
<% } %>
Tax<%= fmtTRY(totals.tax) %>
Total<%= fmtTRY(totals.total) %>
<% if (ship.fullName) { %>
Shipping To
<%= ship.fullName %>
<%= ship.addressLine1 %>
<%= ship.city %>, <%= ship.postalCode %> — <%= ship.country %>
<% } %>
<%- include('../_footer', locals) %>