Create professional, on-brand order emails in Brevo and automatically send them to your WooCommerce customers for different order events and account activities.
Design your transactional emails in Brevo's email editor and set them as default templates in WooCommerce. Your customers will receive your custom Brevo templates instead of WooCommerce's basic default emails.
Good to know
You can also send emails to WooCommerce customers through Brevo automations instead of replacing WooCommerce's default emails in the plugin. This method gives you more flexibility to add actions like updating contact attributes or sending additional messages before or after the email is sent.
➡️ To learn more, check our dedicated article Product purchase - Send a thank-you or order confirmation email after purchase.
Before you start
Make sure you have:
- Installed the Brevo plugin for WooCommerce
- Synced your contacts and eCommerce data in the plugin settings
➡️ To learn more, check our dedicated article Brevo plugin for WooCommerce - Sync your store and automate your marketing.
Why use Brevo's email editor for WooCommerce emails?
WooCommerce's default transactional emails have limited design options and basic customization. With Brevo's email editor, you can:
- Design visually appealing emails with drag-and-drop simplicity
- Match your brand identity with custom colors, fonts, and images
- Personalize content with customer data and order details
- Create a professional customer experience throughout the order journey
You can create Brevo templates for these WooCommerce email types:
| Email type | Trigger |
|---|---|
| New orders | Sent when an order is received |
| Processing orders | Sent when an order status changes to processing |
| Completed orders | Sent when an order is marked as complete |
| Refunded orders | Sent when an order is refunded |
| Canceled orders | Sent when an order is canceled |
| New customer accounts | Sent when a customer creates an account |
You can create separate templates for each email type, or use the same template design with different content. The process is the same for all email types.
Step 1: Create your email template in Brevo
Create your email template in Brevo:
- Go to Marketing > Templates.
- Click Create template.
- Select Email template.
-
Configure your email settings. These settings will be applied every time your email is sent.
💡 Good to knowYou can personalize your subject line using WooCommerce variables. For example: "Your order #
{ORDER_ID}has been completed" or "Refund processed for order #{ORDER_ID}". - Click Add content to design your email.
➡️ To learn more, check our dedicated article Create an email template.
Step 2: Personalize your email template with customer and order data
Variables are placeholders that automatically fill with real customer and order data when the email is sent. For WooCommerce emails, variables are written in uppercase letters within curly brackets, like {ORDER_PRICE} or {FIRSTNAME}.
To personalize your email template, expand the sections below to find and copy the variables you need:
Use these to personalize greetings and show customer details:
| Variable | Description |
|---|---|
{FIRSTNAME} |
Customer's first name |
{LASTNAME} |
Customer's last name |
{EMAIL} |
Customer's email address |
You can use any contact attribute from your Contact attributes page. Just use the attribute name in uppercase within curly brackets.
Use these to display order totals and key information:
| Variable | Description |
|---|---|
{ORDER_ID} |
Order number |
{ORDER_DATE} |
Date the order was placed |
{ORDER_SUBTOTAL} |
Subtotal before taxes and shipping |
{ORDER_TAX} |
Tax amount |
{ORDER_SHIPPING} |
Shipping cost |
{ORDER_DISCOUNT} |
Discount amount |
{ORDER_PRICE} |
Final order total |
Use these to show individual product details:
| Variable | Description |
|---|---|
{ORDER_PRODUCTS} |
3 columns with product name, quantity, and price |
{ORDER_FEES} |
2 columns with fee name and price |
{ORDER_DOWNLOAD_LINK} |
Download link for digital products |
| Variable | Description |
|---|---|
{BILLING_FIRST_NAME} |
Billing first name |
{BILLING_LAST_NAME} |
Billing last name |
{BILLING_COMPANY} |
Billing company name |
{BILLING_ADDRESS_1} |
Billing address line 1 |
{BILLING_ADDRESS_2} |
Billing address line 2 |
{BILLING_CITY} |
Billing city |
{BILLING_STATE} |
Billing state or province |
{BILLING_POSTCODE} |
Billing postal code |
{BILLING_PHONE} |
Billing phone number |
{BILLING_EMAIL} |
Billing email address |
| Variable | Description |
|---|---|
{SHIPPING_FIRST_NAME} |
Shipping first name |
{SHIPPING_LAST_NAME} |
Shipping last name |
{SHIPPING_COMPANY} |
Shipping company name |
{SHIPPING_ADDRESS_1} |
Shipping address line 1 |
{SHIPPING_ADDRESS_2} |
Shipping address line 2 |
{SHIPPING_CITY} |
Shipping city |
{SHIPPING_STATE} |
Shipping state or province |
{SHIPPING_POSTCODE} |
Shipping postal code |
{SHIPPING_COUNTRY} |
Shipping country |
{SHIPPING_METHOD_TITLE} |
Shipping method name |
| Variable | Description |
|---|---|
{PAYMENT_METHOD} |
Payment method (short form) |
{PAYMENT_METHOD_TITLE} |
Payment method (long form) |
{CART_DISCOUNT} |
Cart discount amount |
{CART_DISCOUNT_TAX} |
Cart discount tax |
{REFUNDED_AMOUNT} |
Refund amount (for refunded orders) |
{USER_LOGIN} |
Customer account username (for new customer accounts) |
{USER_PASSWORD} |
Password (for new customer accounts) |
{CUSTOMER_USER} |
Customer browser and operating system |
{CUSTOMER_IP_ADDRESS} |
IP address of the customer |
{CUSTOMER_USER_AGENT} |
User agent |
Step 3: Activate your email template
Once your template is ready to use:
- Click Save & quit to leave the email editor.
- From the email settings, click Save.
- Select Save and activate to make the template available for use in WooCommerce.
Only activated templates appear in the WooCommerce template selection dropdown.
Step 4: Connect your template to WooCommerce
Once your template is activated, you need to active Brevo SMTP in the Brevo plugin for WooCommerce and select the template from there. This tells WooCommerce to use your Brevo template instead of its default emails.
➡️ To learn more, check our dedicated section in the article Brevo plugin for WooCommerce - Sync your store and automate your marketing.
Step 5: Test your email template with a real order
Consider testing on a staging or development environment first, or place a small test order that you can cancel or refund afterward.
The only way to fully verify that all variables work correctly is to test with a real order:
- Place a test order on your store using your email address.
- Perform the action that will trigger the email. For example, if you created an email with refunded products details triggered by the Refunded orders event, cancel and refund the order.
- Check the email you receive to verify that all variables are correctly replaced with actual order data.
Here's how your order variables will be replaced when the email is sent:
| Your email template | The email received by the customer |
|---|---|
🤔 Have a question?
If you have a question, feel free to contact our support team by creating a ticket from your account. If you don't have an account yet, you can contact us here.
If you’re looking for help with a project using Brevo, we can match you with the right certified Brevo Agency partner.