Setup

E-mails


 
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-mails.
 
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
[SHOPNAME] - Check out this product TellaFriend
[SHOPNAME] ERP connection available, maintenance mode deactivated ERPConnectionAvailable
[SHOPNAME] ERP connection not available, maintenance mode activated ERPConnectionUnavailable
Contact us form ContactUs
Edited Order Confirmation EditOrderConfirmation
Error notification TechnicalAdminErrorNotification
Forgot password ForgotPassword
Forgot password ForgotPasswordAdmin
Invoice payment confirmation InvoicePaymentConfirmation
Invoice payment confirmation InvoicePaymentConfirmationForShopManagers
Invoice payment partial success InvoicePaymentRegistrationFailedForShopManagers
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
Payment Confirmation PaymentConfirmation
Quote Confirmation QuoteConfirmation
Quote Confirmation UnprocessedQuoteConfirmation
Reminder mail OrderAuthorizationReminderMail
Return order confirmation ReturnOrderConfirmation
Set account password NewSubAccountSetPassword
Your password has been changed ChangePassword
 
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, web store 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.
 
Name Description
NAME The name of a customer in the Sana web store.
SHOPNAME The web store name.

Only the SHOPNAME variable can be used in the e-mail template subject.
SHOPEMAIL The web store e-mail address.
SHOPPHONE The web store phone number.
URL The link to reset the shop account password.
USERNAME The name of the web store customer or visitor (not registered user).
USERMAIL The e-mail of the web store customer.
COMPANYNAME The company name.
EMAILADDRESS The e-mail of the company.
PHONE The phone of the message sender.
CUSTOMERNUMBER The number of a customer.
COMMENTS The comments of the message sender.
WEBSITEDOMAIN The link to the web store. You can find the additional information about website domains at the end of this article.
ORDERADDRESS The billing and shipping addresses of the sales order.
ORDERNUMBER The sales order ID.
ORDERDETAILS The sales order details.
ADDITIONAL_ORDER_INFORMATION The reference number, comments and the requested delivery date of the sales order.
ATTACHMENTS The links to the return order attachments.
PRODUCTTITLE The product title. It consists of two variables: the PRODUCTTITLE itself and the PRODUCTURL.

Separate variables are visible only in the HTML view.
PRODUCTURL The direct link to the target product.

This variable is only visible in the HTML view and is the part of the PRODUCTTITLE variable.
MESSAGE The message added by a customer in the web store.
PAYMENT_SHIPPING_INFORMATION Order shipping and payment information.
PAYMENTTRANSACTIONID The ID of a payment transaction.
TRANSACTIONID The ID of a payment transaction.
ERRORDETAILS The details about why the order payment has failed.
SUBACCOUNT_NAME The name of a subaccount in the Sana web store.
ORDERAUTHORIZER The name of an authorizer in the Sana web store.
ORDERAUTHORIZERS The names of authorizers in the Sana web store.
AUTHORIZATION_FEEDBACIK The comment of an authorizer explaining why the order was declined.
DAYS The number of days that have passed since the last order was created and not authorized (approved or declined).
 
Adding web store URL to the e-mail template
 
It is possible to create links to the web store 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 web store and will add it to the link automatically. For example, if you want to create the direct link to the home page of your web store, add the following line to the e-mail template text: [WEBSITEDOMAIN]/home.
 
 NOTE

The web store information which is used in the e-mails sent from the Sana web store (store name, store phone number, store e-mail address) can be changed in Sana Admin: Setup > Basics > Store information.