Editing mail notifications

Email notifications are messages sent to store owners and customers to inform users when an order is placed, an order status changes, a product’s stock is getting low, etc. When you create an Ecwid store, we provide default email templates to use in your store immediately — they are created to be universal so as to fit any business.

Still you can edit email templates if you would like. You can add info about upcoming new products or ongoing sales; you can brand the emails if you have business-specific colors (e.g. you use only black and white in your storefront), or you can remove some info to make your emails very minimalistic.

Each email notification has its own template which you can edit in your Ecwid Control Panel → Settings → Mail. Check out the video guide:

Understanding email templates

Each admin or customer email notification has its own template. When an email is sent, the email template is filled in with the info from your store settings (store name, contact info, store link, etc.) and from the order details (customer’s name, shipping address, list of products bought, etc.) Thus, each email sent from your store is individual and contains all the information about a particular order and customer.

Here is an example of an abandoned cart recovery email that’s sent to a customer who doesn’t complete an order and leaves items in their cart. The customer will see the email this way:

Recovery email

The template for this email in the Ecwid Control Panel looks like this:

Recovery email template

You can easily make small changes like adding a coupon code or a message about an upcoming sale without any knowledge of coding. The easiest way to edit the template is to add text next to the plain text that displays in black in the template.

More serious changes, like changing the design and the layout of the template, will require the knowledge of HTML and Freemarker — the languages used in the templates.

Let’s dive deep into understanding the different parts of an email template and how to edit them: plain texts, variables, and markups.

Plain text

The text that you see in black is plain text. Text here is sent in the emails in exactly the same way as you see it in the template.

You can easily edit plain texts (that you see in black) in the templates: simply edit or remove the text. For example, if you sell customized products, you can replace “will process it shortly” in the order confirmation template with something like “your order will be processed within a week.” Also, if you want to inform customers about ongoing promos or sales, you can add a message about it near the black text — that’s the easiest way to add custom messages to email templates:

Order confirmation email template

Order confirmation email template

Editing text in the “Abandoned Cart Recovery” email template is even easier as its plain text is presented in a special area of the template. You can type your message in the “Default message for customers” area. For example, you can include a coupon code in recovery emails to encourage customers to complete the purchase:
Default recovery message

Variables

Variables are placeholders that are replaced in the email with the actual information from either the order details (customer’s name, list of products, etc.) or from the store info (store name, contact info, etc.). For example, you can see variables like ${store.name} or ${customer.name}. As you can guess by their names, they will be replaced in email notifications with the store name taken from your store profile settings and with the customer’s name taken from the order details.

See the list of variables used in the email templates.

Markup

The text in blue, green and red is called markup. These are rules that tell the email client how to display the text in the email: font color, size, padding, etc. You can change the markup rules if you want to change the layout and the design of your email.

Editing notification template

To add custom messages to the email template or to customize it in any other way, you should edit its template. Email templates use variables to refer to the store or customer information - you can remove, edit, or add variables that are supported in emails. Ecwid uses Freemarker to replace variables with actual values and for their conditional rendering while HTML tags define the structure of the email templates and how they look in inboxes.

If you need help with editing email templates, our Customization team can develop a custom email template for your store. Send them a request to receive a quote.

To edit an email template:

  1. Go to the Ecwid Control Panel → Settings → Mail.
  2. Click Edit next to the template you want to change.
  3. In the HTML template, make the desired changes.
  4. Before saving any changes, click the Preview template link on top to see what the email will look like.
If you see a blank page in a preview, it most likely means that the template code was broken (some tags were accidentally deleted). If you see this, you can simply revert to the default template and try making your changes again.
  1. If you don’t like the result, click the Revert to default link at the bottom of the template to restore the default email template.
  2. Once you are satisfied with the result, click Save.
If you are making changes to a template that you previously customized and saved, the “Revert to default” option won’t work for you as it will revert to our default template. To backup your new template, copy the email template and save it as a text file on your computer. If something goes wrong, you can paste the code from the file back to the template.

To check how email notifications will look with your changes, place a test order in your store. A test order is the best way to test email template changes as the preview shows demo products and data. Use your real email address at checkout as this is where the email will be sent. You should also change the order payment and fulfillment status in the control panel to receive preview of different email notifications (order status changed, order shipped, etc.).

Examples of template modifications

Example 1. If you’ve specified your company phone number in the store settings, this number is included into Order Confirmation emails by default via the ${store.officeAddress.phone} variable. In case you want to remove your phone number from Order Confirmations sent to your customers while keeping it in the store settings, delete the following piece of code from the Order Confirmation template:

<#if (store.officeAddress.phone)?has_content>
or call <b>${store.officeAddress.phone}</b></#if>

After that, the phone number won’t be displayed in Order Confirmations sent by your store to buyers.

Example 2. If you want to show another company address in emails (not the one that you specified in your store profile), you can replace the ${store.officeAddress} variable with the address that you want to show in emails by adding the latter as a plain text.

Example 3. If you need to specify a list of elements in a template, use this construction:

<#list order.items as orderItem>
${orderItem.name}
</#list>

Learn more about the Freemarker language used in Ecwid templates.

Changing company info in emails

The company info (store name, store link, physical address, etc.) that you see in email notifications is taken from your store settings. If you want to change this info in your emails, you should update it in your Ecwid Control Panel → Settings → General → Store Profile.

Company info in notifications

Company info in the order confirmation email template

Adding a logo to emails

To upload or change a logo in your mail notifications:

  1. Go to the Ecwid Control Panel → Settings → Mail.
  2. Scroll down to the bottom of the page to Your logo for mail notifications.
  3. Click Upload logo.
  4. Upload your store logo and save the changes.

This logo will be used in all customer notifications.

For Instant site users: When you upload a logo to your Ecwid Instant site for the first time, it’s automatically added to your customer email notifications (order confirmation, order status changed, download e-goods, etc.). If you change the logo for the Instant site, you will need to manually update the logo in your email notifications. The logo is set for all customer email notifications at once. To change the logo that shows on your Ecwid Instant Site, go to the Ecwid Control Panel → Website → Click Edit → Headline & Cover Image → Store logo → Click Upload logo.

Changing your email notification language

When you create a new Ecwid account, the language used in your email notification templates is the same as the language of your Control Panel. That means that plain texts, order payment and fulfillment states, etc. in email notifications for you and your customers will be in this language. Product details, your company address, and the customer’s info will also be in this same language.

If you use the Control Panel in a language that email notifications are not translated into yet, they will be translated into English — that’s the default language.

You can change the language of your email notifications at anytime. For example, if your customers are from Italy, but you prefer viewing the Ecwid Control Panel in English, you can set Italian for emails and keep using the control panel in English.

You can set the language for your storefront in the Control Panel → Setting → General → Regional Settings → Store Language. Click Language settings and choose the desired language.

In Ecwid, email notification templates can be translated into:

  • English
  • Russian
  • German
  • French
  • Italian
  • Spanish
  • Portuguese
  • Dutch
  • Danish
  • Finnish
  • Japanese
  • Norwegian
  • Polish
  • Czech

To change the language in your email notifications:

  1. Go to Ecwid Control Panel → Settings → Mail.
  2. Click Edit next to the notification that you want to change the language of.
  3. Switch the language in your Ecwid Control Panel: click on the Language drop-down at the bottom of any page and choose the language in which you want notifications to be sent.
  4. (If you are using the default email template): Make any change in the template, e.g. add a blank space.
    (If you are using a custom email template): Click Revert to default link at the bottom of the template. Your previous edits to the template will be lost. You can add them after you save the template in the new language.
  5. Click Save.
You can edit email templates on the Venture, Business, and Unlimited plans. Upgrade

Repeat these steps for all the email templates you want to change the language of. After that, customers will always get emails in the language that you set.

You can send email notifications to customers in different languages. To send emails in multiple languages, use the default email templates and enable several languages for your storefront in the Ecwid Control Panel → Setting → General → Regional Settings → Store Language. Click Language settings → Add new languages. Enable several languages here and translate your catalog. Customers will get email notifications in the same language in which they view your storefront.

Translating email notifications into a new language

In Ecwid, email templates are translated into 15 languages. If you don’t see the language that you want to use for emails, you can add your own custom translation for mail notifications.

To translate mail notifications into a new language:

  1. Open your Ecwid Control Panel → Settings → Mail.
  2. Click Edit next to the notification that you want to translate.
  3. Translate the plain text that you see in black to the desired language.
  4. Add translations for order statuses. These are set by variables in the email template. Find the following variables:
    Order payment statuses:
    ${order.paymentStatus}
    Order fulfillment statuses:
    ${order.fulfillmentStatus}
  5. Replace them with the following translation code where you add your translation. Here is an example of the code for translation into Portuguese:
    Order payment statuses:
    <#if order.paymentStatus = 'Paid'> Pago
    <#elseif order.paymentStatus = 'Awaiting Payment'> Aguardando Pagamento
    <#elseif order.paymentStatus = 'Cancelled'> Cancelado
    <#elseif order.paymentStatus = 'Refunded'> Reembolsado
    </#if>

    Order fulfillment statuses:
    <#if order.fulfillmentStatus = 'Processing'> Processando
    <#elseif order.fulfillmentStatus = 'Awaiting processing'> Aguardando Processamento
    <#elseif order.fulfillmentStatus = 'Shipped'> Enviado
    <#elseif order.fulfillmentStatus = 'Delivered'> Entregue
    <#elseif order.fulfillmentStatus = 'Will not deliver'> Não será entregue
    <#elseif order.fulfillmentStatus = 'Returned'> Devolvido
    </#if>
  6. Save the changes.

After that, customers will get email notifications in the language that you’ve translated them into.

If you need help translating email templates into your language, you can contact our Customization team for a quote.
Was this article helpful?

Awesome! Thanks for your feedback!

Sorry about that! We are here to assist you by email or chat.

Contact support