E-mail Templates
WATCH THE VIDEO
There are different e-mail templates which are used in Sana for system e-mails, like order confirmation, payment confirmation, forgot password, etc.
To see e-mail templates, open Sana Admin and click: Setup > E-mail templates.
You can change the content of e-mail templates. It is multi-lingual. When you install a language pack, the e-mail templates will be available in the installed language. You can sort the e-mail templates by subject or template identifier.
Subject |
Template Identifier |
---|---|
Authorisation [TRANSACTIONID] has changed |
SanaPay__AuthorisationAmountChanged |
Basket calculation error |
BasketCalculationError |
Contact us form |
ContactUs |
Edited Order Confirmation |
EditOrderConfirmation |
Edited Quote Confirmation |
EditQuoteConfirmation |
Error notification |
TechnicalAdminErrorNotification |
Forgot password |
ForgotPassword |
Forgot password |
ForgotPasswordAdmin |
Incoming blog comment notification |
IncomingBlogCommentNotification |
Invoice payment confirmation |
InvoicePaymentConfirmation |
Invoice payment confirmation |
InvoicePaymentConfirmationForShopManagers |
Invoice payment partial success |
InvoicePaymentRegistrationFailedForShopManagers |
New B2B registration in [SHOPNAME] |
NewB2BShopAccountToShopAdmin |
New return order request |
ReturnOrderAdminNotification |
Order Approved |
OrderAuthorizationApproved |
Order Authorization Request |
OrderAuthorizationRequest |
Order Confirmation |
GuestOrderConfirmation |
Order Confirmation |
OrderConfirmation |
Order Confirmation |
OrderPayment |
Order Confirmation |
UnprocessedOrderConfirmation |
Order Declined |
OrderAuthorizationDeclined |
Order payment error |
OrderPaymentErrorAdminNotification |
Pay By Email |
SanaPay_PayByEmail |
Payment Confirmation |
PaymentConfirmation |
Payment [TRANSACTIONID] cannot be captured |
SanaPay__CaptureFailed |
Payment [TRANSACTIONID] cannot be refunded |
SanaPay__RefundFailed |
Payment [TRANSACTIONID] has been cancelled |
SanaPay__PaymentCancelled |
Payment authorisation [TRANSACTIONID] cannot be extended |
SanaPay__AuthorisationAdjustmentFailed |
Payment capture notification |
CapturePaymentAdminNotification |
Quote Confirmation |
QuoteConfirmation |
Quote Confirmation |
UnprocessedQuoteConfirmation |
Refund payment notification |
RefundPaymentAdminNotification |
Reminder mail |
OrderAuthorizationReminderMail |
Request Product Information |
RequestProductInformation__Email |
Return order confirmation |
ReturnOrderConfirmation |
Set account password |
NewSubAccountSetPassword |
Welcome to [SHOPNAME]! |
NewB2BShopAccount |
Welcome to [SHOPNAME]! |
NewShopAccount |
Welcome to [SHOPNAME]! |
NewShopAccountByShopAdmin |
Your account approval |
ShopAccountApproved |
Your password has been changed |
ChangePassword |
[SHOPNAME] ERP connection available, maintenance mode deactivated |
ERPConnectionAvailable |
[SHOPNAME] ERP connection not available, maintenance mode activated |
ERPConnectionUnavailable |
[SHOPNAME] | The task [TASKNAME] has failed |
TaskFailureNotification |
You can see replacement tags in the e-mail templates. They can be recognized by the brackets in the text of the e-mail template, for example [ORDERNUMBER]. These tags are automatically replaced by the external values when the e-mail is sent, for example order details, customer name, webstore e-mail, etc. If you need to change the content of the e-mail template, do not change or translate the replacement tags.
The table below provides the list of all replacement tags which are used in the e-mail templates of Sana. You can also see in which e-mail templates different replacement tags are used.
Name |
Description |
E-mail templates (by ID) |
---|---|---|
NAME |
The name of a customer in the Sana webstore. |
ContactUs |
SHOPNAME |
The webstore name. Only the SHOPNAME variable can be used in the e-mail template subject. |
TaskFailureNotification |
SHOPEMAIL |
The webstore e-mail address. |
EditOrderConfirmation |
SHOPPHONE |
The webstore phone number. |
EditOrderConfirmation |
URL |
The link to reset the shop account password. |
ForgotPassword |
COMPANYNAME |
The company name. |
ContactUs |
EMAILADDRESS |
The e-mail of the company. |
ContactUs |
PHONE |
The phone of the message sender. |
ContactUs |
CUSTOMERNUMBER |
The number of a customer. |
InvoicePaymentConfirmationForShopManagers |
COMMENTS |
The comments of the message sender. |
ContactUs |
WEBSITEDOMAIN |
The link to the webstore. You can find the additional information about website domains at the end of this article. |
EditOrderConfirmation |
ORDERADDRESS |
The billing and shipping addresses of the sales order. |
EditOrderConfirmation |
ORDERNUMBER |
The sales order ID. |
EditOrderConfirmation |
ORDERDETAILS |
The sales order details. |
EditOrderConfirmation |
ADDITIONAL_ORDER_INFORMATION |
The reference number, comments and the requested delivery date of the sales order. |
EditOrderConfirmation |
ATTACHMENTS |
The links to the return order attachments. |
ReturnOrderAdminNotification |
MESSAGE |
The message added by a customer in the webstore. |
TechnicalAdminErrorNotification |
PAYMENT_SHIPPING_INFORMATION |
Order shipping and payment information. |
EditOrderConfirmation |
PAYMENTTRANSACTIONID |
The ID of a payment transaction. |
InvoicePaymentConfirmationForShopManagers |
TRANSACTIONID |
The ID of a payment transaction. |
OrderPaymentErrorAdminNotification |
ERRORDETAILS |
The details about why the order payment has failed. |
OrderPaymentErrorAdminNotification |
SUBACCOUNT_NAME |
The name of a sub-account in the Sana webstore. |
OrderAuthorizationRequest |
ORDERAUTHORIZER |
The name of an authorizer in the Sana webstore. |
OrderAuthorizationApproved |
ORDERAUTHORIZERS |
The names of authorizers in the Sana webstore. |
EditOrderConfirmation |
AUTHORIZATION_FEEDBACK |
The comment of an authorizer explaining why the order was declined. |
OrderAuthorizationDeclined |
DAYS |
The number of days that have passed since the last order was created and not authorized (approved or declined). |
OrderAuthorizationReminderMail |
TASKNAME |
The name of a scheduled task that failed. |
TaskFailureNotification |
TIMESTAMP |
Time when the scheduled task failed. |
TaskFailureNotification |
EXCEPTION |
The error that is a reason for the scheduled task failure. |
TaskFailureNotification |
EXCEPTIONDETAILS |
The error details of the failed scheduled task. |
TaskFailureNotification |
SHOPACCOUNTEMAIL |
The e-mail address the customer used to register in the webstore online or a webstore administrator to create a shop account for a B2B customer directly in Sana Admin. The e-mail is used by the customer to log in to the webstore. |
NewShopAccount |
PAYBYLINK |
The payment link to pay orders through Sana Pay. |
SanaPay_PayByEmail |
Adding Webstore URL to the E-mail Template
It is possible to create links to the webstore in the e-mail template. To do this, just add the link to the page without specifying the domain name. Add [WEBSITEDOMAIN] variable instead of it, thus Sana Admin will take the domain of your webstore and will add it to the link automatically. For example, if you want to create the direct link to the home page of your webstore, add the following line to the e-mail template text: [WEBSITEDOMAIN]/home.
The webstore information which is used in the e-mails sent from the Sana webstore (store name, store phone number, store e-mail address) can be changed in Sana Admin: Setup > Basics.