Changes you make to your store through the Commerce Cloud administration do not affect the email templates. If you make changes to your store that you want to see reflected in emails you send to customers, you must manually update the templates. For example:

Each email template package you download includes the following files:

File

Description

locales/<langcode>/Strings.xlf

Contains localized strings for the locale specified by <langcode>.

For example, the Spanish strings are located in the file
locales/es/Strings.xlf.

You can edit text inside the <source> tags.

html_body.ftl

FreeMarker template file that configures the HTML body of the email.

text_body.ftl

FreeMarker template file that configures the plain text body of the email. This file is included only in the package for the Forgotten Password and New Account emails.

Readme.txt

A help file that describes the fields that you can reference in the templates.

subject.ftl

FreeMarker template file that configures the subject line of the email.

To download an email template package:

  1. Click the menu icon and click Settings. Select Email Settings from the Settings list.

  2. If you run multiple sites from a single Commerce Cloud instance, select the site whose email templates you want to download.

  3. Click the type of email whose template you want to download.

  4. Under Content, click Download Current Template.

  5. Specify whether to open the ZIP file or save it.

Once you have made changes to the template files, compress them into a ZIP file and upload it. Make sure the ZIP file has the same name as the one you downloaded and contains the following files:

  • locales/<langcode>/Strings.xlf

  • html_body.ftl for HTML-based email messages or text_body.ftl for plain text email messages.

  • subject.ftl

To upload an email template:

  1. Click the menu icon and click Settings. Select Email Settings from the Settings list.

  2. If you run multiple sites from a single Commerce Cloud instance, select the site whose email templates you want to download.

  3. Click the type of email whose template you want to upload.

  4. Under Content, click Upload New Templates.

  5. Locate the ZIP file to upload and then click Open.

    When the upload is complete, Commerce Cloud displays a success message. This update takes effect immediately and does not require publishing.


Copyright © 1997, 2017 Oracle and/or its affiliates. All rights reserved. Legal Notices