Customizing your store email templates allows you to tailor their content and appearance to fit your brand, adding to the customer experience. With Transactional Emails, you can edit text, add custom code, and enable or disable specific email templates.

Example email preview

 

How It Works

Your store uses the email templates located in MarketingTransactional Emails to automatically send emails when shoppers perform certain actions, such as signing up for a customer account or placing an order. All email templates are enabled in your store by default, but you can disable a template at any time to prevent customers from receiving an email when they perform the corresponding action.

 

Using a third-party app to manage customer emails? You may want to disable some or all of your store’s built-in email templates to prevent your customers from receiving multiple emails.

While editing your emails, you can customize the global template, or create unique templates for each of your native or headless storefronts as well as non-storefront channels. Email template customization settings are broken up into the following tabs:

  • Phrases — specify the text in the email’s subject and body
  • Code — customize the HTML and CSS coding of the email template to fine-tune its appearance and add content like images, links, and Buy Buttons
  • Preview — view an example of the email template before going live with your changes

Email templates can use variables that reference objects in the code which automatically supply relevant information, such as the customer’s name or their order number. Some objects can be used in all email templates, while others are only supported in particular templates.

Highlighted variables in template phrases.

While editing a template, you can revert all phrases and code back to their default values. Click the Action menu (), then select Reset to system default from the drop-down menu. You can also Enable or Disable the template from the drop-down.

Action menu drop-down with Reset to system default highlighted.

 

Requirements

  • To view and edit Transactional Email templates, you must have the Manage Channels and Store Design permissions enabled on your user account.
 

Email Templates

The following email templates are available for editing:

  • Abandoned Cart* — sent when a customer abandons a shopping cart
  • Account Settings Edited — sent when a customer makes a change to their account email address or password
  • Password Reset — sent when a password reset for a customer’s storefront account has been requested or forced
  • Order Status Update — sent when an order's status is changed
  • Order Email — sent when a customer places an order
  • Guest Account Created — sent when a customer checks out as a guest and has an account automatically created for them
  • Gift Certificate Recipient — sent to the recipient of a gift certificate
  • Sign-in Link Request — sent when an existing customer requests to use passwordless login while checking out
  • Order Notification — sent when a message is added to an order
  • Product Review Request — sent after an order has been placed, asking a customer to review the items they purchased
  • Return Requested — sent when a customer submits a return request
  • Account Created — sent when a customer creates a storefront account
  • Return Status Change — sent when a customer's return request status is updated
  • Order ready for pickup — sent when an order placed using Buy Online, Pick up in Store APIs is marked as ready for pickup

*The content and settings for Abandoned Cart emails are managed in MarketingAbandoned Cart Emails.

 

Managing Email Templates

To view your email templates, go to MarketingTransactional Emails. This page lists your store’s default global templates, along with a label to show if they are currently enabled or disabled.

Email templates in the control panel.

 

Localized Store Experiences: This feature is available for all of our supported languages. For more information on the default language store setting, see Store Profile Settings.

To edit a template, click the Action menu () next to the template, then select Edit Template from the drop-down menu. You can also Disable or Enable the template from the drop-down.

Action menu drop-down with Edit Template highlighted.

 

How do I disable the Password Reset and Sign-in Link Request email templates? Please contact our support team to enable this functionality.

If you have more than one storefront or channel, you can enable and customize templates individually or use the default global templates. Switch between global and storefront or channel templates using the drop-down list at the top of the page.

To edit a storefront or channel template, uncheck the box next to Use Global. If you go back to using the default global template by checking the box next to Use Global, your saved changes to the storefront template are saved but hidden.

Storefront selector and Use Global checkbox highlighted.

 

Editing Template Phrases

Under the Phrases tab, you can customize the text used in the template. The Phrase name is an identifier used in the template code that outputs a string of text in the resulting email, called the Phrase value. The Phrase name is not visible to shoppers.

The Phrases tab showing Phrase name and Phrase value

You can change the Phrase name and Phrase value of existing phrases, or you can create custom phrases by clicking the + Add new button at the bottom of the page.

Delete phrases by clicking the Action menu () next to a phrase and selecting Delete phrase.

Add new button and Action menu drop-down with Delete phrase highlighted.

Phrase values can contain variables that reference objects in the code which pull information from your store, such as a customer’s name or email address. Some objects can be used in all email templates, while others are only supported in specific templates.

Variables added in a Phrase value are wrapped in single curly brackets ({ }). For example, in the Order Email template, the subject phrase contains the {store} and {id} variables.

These variables are included in Handlebars expressions within the Code tab.

Variables highlighted in a phrase.

 

Editing Template Code

The Code tab is where you can customize an email template by editing the underlying HTML and Handlebars code. This includes CSS styling and adding custom phrases from the Phrases tab.

The Code tab.

 

Editing code? We recommend saving a backup copy of your template in a plain text editor such as Notepad or TextEdit.

The Code tab is divided into two sections. An email template’s subject line is edited in the Subject field and can contain plain text and Handlebars expressions. The email template body is edited in the Content field and can contain plain text, CSS styling, HTML, and Handlebars expressions. We recommend making edits by copying the template code into a text editor and pasting the edited version back into the Content box.

If you have created or edited a phrase on the Phrases tab, include them within Handlebars expressions and define any added variables. For example, in the Order Email template, the Subject contains the expression {{{ lang 'subject' store=store.name id=order.id }}}. This outputs the subject phrase Your {store} Order Confirmation (#{id}), which contains the {store} and {id} variables. Within the expression, the variables are mapped to the store.name and order.id objects, which are available globally and specific to the Invoice email.

For examples of how you can customize your email template code, see our developer documentation.

 

Previewing Your Changes

Under the Preview tab, you can see a sample of the email that would be generated from a template. This allows you to review your changes and you can go back to the Phrases or Code tabs to make further updates as necessary.

The Preview tab.

When previewing an email template, it will display example content, such as order details in the Order Status Update template, or a product review link in the Product Review Request template. This is replaced with information relevant to your customer when they receive an actual email.

Email template preview with example content highlighted.

When you are done making changes, click Save on the bottom right of the page.

The Save button highlighted.

You can also send a sample of the email that would be generated from a template directly to the inbox of your user account email address by clicking the Send test email button in the upper right of the page. Like the Preview tab content, this email will also contain example details.

The Send test email button highlighted.

 

Table of Global Objects

Below is a table of global objects that can be used in Handlebars expressions on all email templates. For a list of objects that can only be used in specific templates, see our developer documentation.

ObjectCorresponds to:Output example
store.nameyour store's name"Thanks for Registering at My BC Store"
store.domain_nameyour store's domain name"Your mybcstore.com account details have changed"
store.logo.titleyour store's logo text (used as alt text for your logo image)My BC Store
store.logo.urlyour store's logo image URLhttps://cdn11.bigcommerce.com/s-xyz123/product_images/storelogo.jpg
store.ssl_pathyour stores HTTPS URL"Your https://mybcstore.com account details have changed"
store.cdn_pathyour store's content delivery network path URLhttps://cdn11.bigcommerce.com/s-xyz123
store.image_directorythe image directory URL tail in your store's CDN path{{ store.cdn_path }}/{{ store.image_directory }} = https://cdn11.bigcommerce.com/s-xyz123/product_images
store.path_normalyour store's HTTPS URL (used as link at the bottom of some emails)

"My BC Store

https://mybcstore.com"

store.pathyour store's HTTPS URL (used as link in the logo and "go shopping" button)https://mybcstore.com
store.addressyour store's physical address

"My BC Store

110 Inner Campus Drive

Austin, TX 78750

United States of America"

store.language.codethe language file used by your store's themeIf your theme is using en.json, then {{ store.language.code }} will be en
store.language.directionthe direction that the text in your store is readIf the text in your store is read left-to-right, then {{ store.language.directory }} will be ltr
customer.first_nameThe customer's first name"Hello, John,"
customer.full_nameThe customer's full name"Hello, John Smith,"
customer.emailThe customer's email address"Email Address: john.s@example.com"
customer.group.nameThe name of the customer group associated with the customer’s storefront accountWholesale
misc.yearThe current year2023 My BC Store"
 

FAQ

Is there a native or built-in way to add your own tracking links for emails sent by BigCommerce?

No, you must supply the carrier code and tracking number. BigCommerce uses that information to generate the tracking link (or just the carrier name and tracking number if it's not a supported tracking carrier).

If you want to make your own tracking links, it's best to look outside of BigCommerce to send those notification emails. For example, this is ShipStation's documentation on Customer Notification Settings.

Can I change the sending email address for my store’s emails?

Yes, your store’s email address is located in SettingsStore profile. See Store Profile Settings for additional information about changing your store’s email address.

 

Using Multi-Storefront? Each storefront's email address is located in the storefront-specific Contact information settings within Channel Manager. See Single-Storefront vs. Multi-Storefront for more information.

Why are my emails showing raw HTML instead of the phrases or variables I added to the template?

A custom variable or phrase added to the Code section of your email template can appear as raw HTML if it is contained within two curly brackets instead of three. For example, {{ lang 'yourcustomphrase' }} will display as raw HTML, but {{{ lang 'yourcustomphrase' }}} will properly display your custom phrase.

Can I display product brands in my emails?

Yes. Although brands are not included by default, they can be added as a variable in the following email templates:

  • Order Status Update
  • Order Email
  • Order ready for pickup

Is there a Subject line character limit for email templates?

The maximum character count for template Subject lines is 255 characters. A template will not be able to be saved unless the count is reduced to 255 characters or less.

Why are emails not being sent for my non-storefront channels?

Store events, such as updating an order’s status or a customer resetting their storefront account password, trigger transactional email notifications. If a non-storefront channel does not perform the event associated with a template, an email will not be sent.

For example, if a marketplace channel does not update order statuses within BigCommerce, the Order Status Update email template will not be triggered.