This reference document lists all the variables that are available for Adobe Commerce (previously Magento 2) transactional email campaigns. You can also use any Adobe Commerce variables in the subject line of your transactional email template. When building your transactional email templates, the variables must be inserted to merge the customer, order, and shipping information.
Before you start
Things you need to know:
Using Dotdigital data fields in your Adobe Commerce transactional email template causes the send to fail because the sends are triggered directly from Adobe Commerce.
Since Adobe Commerce is customisable, each environment can interpret the variables differently. It's strongly recommended to reach out to your agency for a detailed list of variables that you can use.
There's no guarantee the variables in this article will work in your unique environment. Support is limited and suggestions can only be provided to you. It's not possible to tell you which ones you should use, and because of this, your agency is the best resource to help answer these types of questions.
New account variables
The new account variables are:
Variable name | Variable |
Customer name |
|
Store name |
|
Customer account URL |
|
Forgot account password URL |
|
Customer email |
|
New order confirmation variables
The new order confirmation variables are:
Variable name | Variable |
Customer name |
|
Store name |
|
Customer account URL |
|
Order ID |
|
Order created/placed at |
|
Order status |
|
If order notes |
|
Order notes |
|
Billing address |
|
Shipping address |
|
Payment method |
|
Shipping method |
|
Order items |
|
New shipment variables
The new shipment variables are:
Variable name | Variable |
Customer name |
|
Store name |
|
Customer account URL |
|
Order ID |
|
Order status |
|
Shipment ID |
|
Shipment comment |
|
Shipping tracking details |
|
Billing address |
|
Shipping address |
|
Payment method |
|
Shipping method |
|
Shipment items layout |
|
New invoice variables
The new invoice variables are:
Variable name | Variable |
Customer name |
|
Store name |
|
Customer account URL |
|
Order ID |
|
Order status |
|
Invoice ID |
|
Invoice comments |
|
Billing address |
|
Shipping address |
|
Payment method |
|
Shipping method |
|
Order invoice items layout |
|
Product stock alert variables
The product stock alert variables are:
Variable name | Variable |
Customer name |
|
Store name |
|
Newsletter subscription confirmation variables
The newsletter subscription confirmation variables are:
Variable name | Variable |
Default newsletter subscription confirmation |
|