This commit is contained in:
2026-09-15 10:35:56 +08:00
commit 782f8ea7aa
4086 changed files with 631288 additions and 0 deletions
@@ -0,0 +1,2 @@
<!--@subject {{trans "Refund notification for order #%order_id" order_id=$order.increment_id}} @-->
{{template config_path="design/email/header_template"}}<h1>{{trans "Order #%order_id" order_id=$order.increment_id}}</h1><p class="greeting">{{trans "Some items in your order have been refunded."}}</p><p class="esun-meta">{{trans "The refunded amount and original payment method are shown in the summary below."}}</p>{{depend comment}}<table class="message-info"><tr><td>{{var comment|escape|nl2br}}</td></tr></table>{{/depend}}<h2>{{trans "Order summary"}}</h2>{{layout handle="sales_email_order_creditmemo_items" creditmemo_id=$creditmemo_id order_id=$order_id area="frontend"}}{{template config_path="design/email/footer_template"}}
@@ -0,0 +1,2 @@
<!--@subject {{trans "Refund notification for order #%order_id" order_id=$order.increment_id}} @-->
{{template config_path="design/email/header_template"}}<h1>{{trans "Order #%order_id" order_id=$order.increment_id}}</h1><p class="greeting">{{trans "Some items in your order have been refunded."}}</p><p class="esun-meta">{{trans "The refunded amount and original payment method are shown in the summary below."}}</p>{{depend comment}}<table class="message-info"><tr><td>{{var comment|escape|nl2br}}</td></tr></table>{{/depend}}<h2>{{trans "Order summary"}}</h2>{{layout handle="sales_email_order_creditmemo_items" creditmemo_id=$creditmemo_id order_id=$order_id area="frontend"}}{{template config_path="design/email/footer_template"}}
@@ -0,0 +1,8 @@
<!--@subject {{trans "Invoice #%invoice_id for order #%order_id" invoice_id=$invoice.increment_id order_id=$order.increment_id}} @-->
{{template config_path="design/email/header_template"}}
<h1 style="margin:0 0 14px;color:#171717;font-size:30px;line-height:1.25;font-weight:bold">{{trans "Invoice #%invoice_id" invoice_id=$invoice.increment_id}}</h1><p class="greeting">{{trans "Hi %name," name=$order_data.customer_name}}</p><p>{{trans "Thank you for your order. Your invoice for order #%order_id is below." order_id=$order.increment_id}}</p>{{depend comment}}<table class="message-info"><tr><td>{{var comment|escape|nl2br}}</td></tr></table>{{/depend}}
<table width="100%" cellpadding="0" cellspacing="0" role="presentation" style="margin:34px 0 22px;border-collapse:collapse"><tr><td><h2 style="margin:0;padding:0 0 14px;border-bottom:2px solid #17a957;color:#171717;font-size:22px;line-height:1.25;font-weight:bold">{{trans "Invoice Summary"}}</h2></td></tr></table>
{{layout handle="sales_email_order_invoice_items" invoice_id=$invoice_id order_id=$order_id area="frontend"}}
<table width="100%" cellpadding="0" cellspacing="0" role="presentation" style="margin:38px 0 0;border-collapse:collapse"><tr><td><h2 style="margin:0;padding:0 0 14px;border-bottom:2px solid #17a957;color:#171717;font-size:22px;line-height:1.25;font-weight:bold">{{trans "Customer Information"}}</h2></td></tr></table>
<table width="100%" cellpadding="0" cellspacing="0" role="presentation" style="width:100%;border-collapse:collapse"><tr><td width="50%" style="width:50%;padding:18px 24px 22px 0;border-bottom:1px solid #eee;vertical-align:top"><h3 style="margin:0 0 14px;color:#17a957;font-size:14px;text-transform:uppercase;font-weight:bold">{{trans "Billing Information"}}</h3><div style="color:#444;font-size:14px;line-height:1.65">{{var formattedBillingAddress|raw}}</div></td>{{depend order_data.is_not_virtual}}<td width="50%" style="width:50%;padding:18px 0 22px 24px;border-left:1px solid #eee;border-bottom:1px solid #eee;vertical-align:top"><h3 style="margin:0 0 14px;color:#17a957;font-size:14px;text-transform:uppercase;font-weight:bold">{{trans "Shipping Information"}}</h3><div style="color:#444;font-size:14px;line-height:1.65">{{var formattedShippingAddress|raw}}</div></td>{{/depend}}</tr><tr><td width="50%" style="width:50%;padding:20px 24px 4px 0;vertical-align:top"><h3 style="margin:0 0 12px;color:#17a957;font-size:14px;text-transform:uppercase;font-weight:bold">{{trans "Payment Method"}}</h3><div style="color:#444;font-size:14px;line-height:1.55">{{var payment_html|raw}}</div></td>{{depend order_data.is_not_virtual}}<td width="50%" style="width:50%;padding:20px 0 4px 24px;border-left:1px solid #eee;vertical-align:top"><h3 style="margin:0 0 12px;color:#17a957;font-size:14px;text-transform:uppercase;font-weight:bold">{{trans "Shipping Method"}}</h3><p style="margin:0;color:#444;font-size:14px">{{var order.shipping_description}}</p></td>{{/depend}}</tr></table>
{{template config_path="design/email/footer_template"}}
@@ -0,0 +1,2 @@
<!--@subject {{trans "Invoice #%invoice_id for order #%order_id" invoice_id=$invoice.increment_id order_id=$order.increment_id}} @-->
{{template config_path="design/email/header_template"}}<h1 style="margin:0 0 14px;color:#171717;font-size:30px;font-weight:bold">{{trans "Invoice #%invoice_id" invoice_id=$invoice.increment_id}}</h1><p class="greeting">{{trans "Hi %name," name=$order_data.customer_name}}</p><p>{{trans "Thank you for your order. Your invoice for order #%order_id is below." order_id=$order.increment_id}}</p><table width="100%" cellpadding="0" cellspacing="0" role="presentation" style="margin:34px 0 22px"><tr><td><h2 style="margin:0;padding:0 0 14px;border-bottom:2px solid #17a957;color:#171717;font-size:22px;font-weight:bold">{{trans "Invoice Summary"}}</h2></td></tr></table>{{layout handle="sales_email_order_invoice_items" invoice_id=$invoice_id order_id=$order_id area="frontend"}}<table width="100%" cellpadding="0" cellspacing="0" role="presentation" style="margin:38px 0 0"><tr><td><h2 style="margin:0;padding:0 0 14px;border-bottom:2px solid #17a957;color:#171717;font-size:22px;font-weight:bold">{{trans "Customer Information"}}</h2></td></tr></table><table width="100%" cellpadding="0" cellspacing="0" role="presentation"><tr><td width="50%" style="padding:18px 24px 22px 0;border-bottom:1px solid #eee;vertical-align:top"><h3 style="margin:0 0 14px;color:#17a957;font-size:14px;text-transform:uppercase">{{trans "Billing Information"}}</h3>{{var formattedBillingAddress|raw}}</td>{{depend order_data.is_not_virtual}}<td width="50%" style="padding:18px 0 22px 24px;border-left:1px solid #eee;border-bottom:1px solid #eee;vertical-align:top"><h3 style="margin:0 0 14px;color:#17a957;font-size:14px;text-transform:uppercase">{{trans "Shipping Information"}}</h3>{{var formattedShippingAddress|raw}}</td>{{/depend}}</tr><tr><td style="padding:20px 24px 4px 0;vertical-align:top"><h3 style="margin:0 0 12px;color:#17a957;font-size:14px;text-transform:uppercase">{{trans "Payment Method"}}</h3>{{var payment_html|raw}}</td>{{depend order_data.is_not_virtual}}<td style="padding:20px 0 4px 24px;border-left:1px solid #eee;vertical-align:top"><h3 style="margin:0 0 12px;color:#17a957;font-size:14px;text-transform:uppercase">{{trans "Shipping Method"}}</h3>{{var order.shipping_description}}</td>{{/depend}}</tr></table>{{template config_path="design/email/footer_template"}}
@@ -0,0 +1,11 @@
<!--@subject {{trans "Order #%increment_id confirmed" increment_id=$order.increment_id}} @-->
<!--@vars {"var order.increment_id":"Order Id","var order_data.customer_name":"Customer Name","var created_at_formatted":"Order Date","layout handle=\"sales_email_order_items\" order=$order area=\"frontend\"":"Order Items","var payment_html|raw":"Payment Details","var formattedBillingAddress|raw":"Billing Address","var formattedShippingAddress|raw":"Shipping Address","var order.shipping_description":"Shipping Method","var order_data.is_not_virtual":"Order Type"} @-->
{{template config_path="design/email/header_template"}}
<h1>{{trans "Order #%increment_id" increment_id=$order.increment_id}}</h1><p class="greeting">{{trans "Hi, %name:" name=$order_data.customer_name}}</p>
<p>{{trans "Thank you for your order from eSUN Official Store"}}</p>
<table width="100%" cellpadding="0" cellspacing="0" border="0" role="presentation" style="width:100%;border-collapse:collapse"><tr><td align="center" style="padding:30px 0;text-align:center"><table width="280" cellpadding="0" cellspacing="0" border="0" role="presentation" align="center" style="width:280px;border-collapse:collapse"><tr><td width="280" height="54" bgcolor="#17a957" align="center" valign="middle" style="width:280px;height:54px;padding:0;background-color:#17a957;text-align:center;vertical-align:middle"><a href="{{var this.getUrl($store,'sales/order/view/',[_query:[order_id:$order_id],_nosid:1])}}" style="display:inline-block;padding:15px 30px;border:0;color:#ffffff;font-family:Arial,sans-serif;font-size:16px;line-height:24px;font-weight:bold;text-align:center;text-decoration:none;white-space:nowrap">{{trans "View your order"}}</a></td></tr></table></td></tr></table>
<table width="100%" cellpadding="0" cellspacing="0" role="presentation" style="margin:34px 0 22px;border-collapse:collapse"><tr><td><h2 style="margin:0;padding:0 0 14px;border-bottom:2px solid #17a957;color:#171717;font-size:22px;line-height:1.25;font-weight:bold">{{trans "Order Summary"}}</h2></td></tr></table>
{{layout handle="sales_email_order_items" order_id=$order_id area="frontend"}}
<table width="100%" cellpadding="0" cellspacing="0" role="presentation" style="margin:38px 0 0;border-collapse:collapse"><tr><td><h2 style="margin:0;padding:0 0 14px;border-bottom:2px solid #17a957;color:#171717;font-size:22px;line-height:1.25;font-weight:bold">{{trans "Customer Information"}}</h2></td></tr></table>
<table class="order-details" width="100%" cellpadding="0" cellspacing="0" role="presentation" style="width:100%;margin:0;border:0;border-collapse:collapse"><tr><td width="50%" style="width:50%;padding:18px 24px 22px 0;border:0;border-bottom:1px solid #eeeeee;vertical-align:top"><h3 style="margin:0 0 14px;color:#17a957;font-size:14px;text-transform:uppercase;font-weight:bold">{{trans "Billing Information"}}</h3><div style="color:#444;font-size:14px;line-height:1.65">{{var formattedBillingAddress|raw}}</div></td>{{depend order_data.is_not_virtual}}<td width="50%" style="width:50%;padding:18px 0 22px 24px;border:0;border-left:1px solid #eeeeee;border-bottom:1px solid #eeeeee;vertical-align:top"><h3 style="margin:0 0 14px;color:#17a957;font-size:14px;text-transform:uppercase;font-weight:bold">{{trans "Shipping Information"}}</h3><div style="color:#444;font-size:14px;line-height:1.65">{{var formattedShippingAddress|raw}}</div></td>{{/depend}}</tr><tr><td width="50%" style="width:50%;padding:20px 24px 4px 0;border:0;vertical-align:top"><h3 style="margin:0 0 12px;color:#17a957;font-size:14px;text-transform:uppercase;font-weight:bold">{{trans "Payment Method"}}</h3><div style="color:#444;font-size:14px;line-height:1.55">{{var payment_html|raw}}</div></td>{{depend order_data.is_not_virtual}}<td width="50%" style="width:50%;padding:20px 0 4px 24px;border:0;border-left:1px solid #eeeeee;vertical-align:top"><h3 style="margin:0 0 12px;color:#17a957;font-size:14px;text-transform:uppercase;font-weight:bold">{{trans "Shipping Method"}}</h3><p style="margin:0;color:#444;font-size:14px;line-height:1.55">{{var order.shipping_description}}</p></td>{{/depend}}</tr></table>
{{template config_path="design/email/footer_template"}}
@@ -0,0 +1,4 @@
<!--@subject {{trans "Order #%increment_id confirmed" increment_id=$order.increment_id}} @-->
{{template config_path="design/email/header_template"}}<h1>{{trans "Order #%increment_id" increment_id=$order.increment_id}}</h1><p class="greeting">{{trans "Hi, %name:" name=$order_data.customer_name}}</p><p>{{trans "Thank you for your order from eSUN Official Store"}}</p>
<table width="100%" cellpadding="0" cellspacing="0" role="presentation" style="margin:34px 0 22px;border-collapse:collapse"><tr><td><h2 style="margin:0;padding:0 0 14px;border-bottom:2px solid #17a957;color:#171717;font-size:22px;line-height:1.25;font-weight:bold">{{trans "Order Summary"}}</h2></td></tr></table>{{layout handle="sales_email_order_items" order_id=$order_id area="frontend"}}
<table width="100%" cellpadding="0" cellspacing="0" role="presentation" style="margin:38px 0 0;border-collapse:collapse"><tr><td><h2 style="margin:0;padding:0 0 14px;border-bottom:2px solid #17a957;color:#171717;font-size:22px;line-height:1.25;font-weight:bold">{{trans "Customer Information"}}</h2></td></tr></table><table class="order-details" width="100%" cellpadding="0" cellspacing="0" role="presentation" style="width:100%;margin:0;border:0;border-collapse:collapse"><tr><td width="50%" style="width:50%;padding:18px 24px 22px 0;border:0;border-bottom:1px solid #eeeeee;vertical-align:top"><h3 style="margin:0 0 14px;color:#17a957;font-size:14px;text-transform:uppercase;font-weight:bold">{{trans "Billing Information"}}</h3><div style="color:#444;font-size:14px;line-height:1.65">{{var formattedBillingAddress|raw}}</div></td>{{depend order_data.is_not_virtual}}<td width="50%" style="width:50%;padding:18px 0 22px 24px;border:0;border-left:1px solid #eeeeee;border-bottom:1px solid #eeeeee;vertical-align:top"><h3 style="margin:0 0 14px;color:#17a957;font-size:14px;text-transform:uppercase;font-weight:bold">{{trans "Shipping Information"}}</h3><div style="color:#444;font-size:14px;line-height:1.65">{{var formattedShippingAddress|raw}}</div></td>{{/depend}}</tr><tr><td width="50%" style="width:50%;padding:20px 24px 4px 0;border:0;vertical-align:top"><h3 style="margin:0 0 12px;color:#17a957;font-size:14px;text-transform:uppercase;font-weight:bold">{{trans "Payment Method"}}</h3><div style="color:#444;font-size:14px;line-height:1.55">{{var payment_html|raw}}</div></td>{{depend order_data.is_not_virtual}}<td width="50%" style="width:50%;padding:20px 0 4px 24px;border:0;border-left:1px solid #eeeeee;vertical-align:top"><h3 style="margin:0 0 12px;color:#17a957;font-size:14px;text-transform:uppercase;font-weight:bold">{{trans "Shipping Method"}}</h3><p style="margin:0;color:#444;font-size:14px;line-height:1.55">{{var order.shipping_description}}</p></td>{{/depend}}</tr></table>{{template config_path="design/email/footer_template"}}
@@ -0,0 +1,6 @@
<!--@subject {{trans "Order #%order_id has shipped" order_id=$order.increment_id}} @-->
{{template config_path="design/email/header_template"}}
<h1>#{{var order.increment_id}}<br>{{trans "Your order is on the way."}}</h1><p class="greeting">{{trans "Hi %name," name=$order_data.customer_name}}</p><p>{{trans "Your order is on the way. Track your shipment to see the delivery status."}}</p>
<table width="100%" cellpadding="0" cellspacing="0" border="0" role="presentation"><tr><td align="center" style="padding:30px 0"><table width="280" cellpadding="0" cellspacing="0" border="0" role="presentation" align="center" style="width:280px;border-collapse:collapse"><tr><td width="280" height="54" bgcolor="#17a957" align="center" valign="middle" style="width:280px;height:54px;padding:0;background-color:#17a957;text-align:center;vertical-align:middle"><a href="{{var this.getUrl($store,'sales/order/view/',[_query:[order_id:$order_id],_nosid:1])}}" style="display:inline-block;padding:15px 30px;border:0;color:#ffffff;font-family:Arial,sans-serif;font-size:16px;line-height:24px;font-weight:bold;text-align:center;text-decoration:none;white-space:nowrap">{{trans "View your order"}}</a></td></tr></table></td></tr></table>
<h2>{{trans "Shipment"}}</h2>{{layout handle="sales_email_order_shipment_track" shipment_id=$shipment_id order_id=$order_id}}<p class="esun-meta"><strong>{{trans "Shipping method:"}}</strong> {{var order.shipping_description}}</p><h2>{{trans "Items in this shipment"}}</h2>{{layout handle="sales_email_order_shipment_items" shipment_id=$shipment_id order_id=$order_id area="frontend"}}
{{template config_path="design/email/footer_template"}}
@@ -0,0 +1,2 @@
<!--@subject {{trans "Order #%order_id has shipped" order_id=$order.increment_id}} @-->
{{template config_path="design/email/header_template"}}<h1>#{{var order.increment_id}}<br>{{trans "Your order is on the way."}}</h1><p class="greeting">{{trans "Hi %name," name=$order_data.customer_name}}</p><p>{{trans "Your order is on the way. Track your shipment to see the delivery status."}}</p><h2>{{trans "Shipment"}}</h2>{{layout handle="sales_email_order_shipment_track" shipment_id=$shipment_id order_id=$order_id}}<p class="esun-meta"><strong>{{trans "Shipping method:"}}</strong> {{var order.shipping_description}}</p><h2>{{trans "Items in this shipment"}}</h2>{{layout handle="sales_email_order_shipment_items" shipment_id=$shipment_id order_id=$order_id area="frontend"}}{{template config_path="design/email/footer_template"}}