E-mail Templates and Dynamic Content

E-mail Templates and Dynamic Content

Learn how to use placeholders in your e-mails to dynamically display order status, customer names, order numbers, and more.

What are Placeholders?

A placeholder is a snippet of code that allows you to insert dynamic content into e-mails sent to your customers. This helps personalize e-mails, increasing the chances they will be opened and read. This is especially important for abandoned cart e-mails, order confirmations, and order management e-mails. Below is an overview of which placeholders you can use when sending e-mails via Personalized Shopping.

Order Confirmation

The following placeholders can be used to personalize the order confirmation sent upon new orders.

@@PAYMENT_METHOD@@
Order's payment method

@@SHIPPING_METHOD@@
Order's shipping method

@@NAME@@
Customer's name

@@SHIPPING_ADDRESS@@
Customer's shipping address

@@ORDER_ID@@
Order number

@@SHIPPING_ZIP@@
Customer's shipping zip code

@@BILLING_ADDRESS@@
Customer's billing address

@@SHIPPING_CITY@@
Customer's shipping city

@@BILLING_ZIP@@
Customer's billing zip code

@@SHIPPING_COUNTRY@@
Customer's shipping country

@@BILLING_CITY@@
Customer's billing city

 

@@BILLING_COUNTRY@@
Customer's billing country

 

Other E-mails (e.g., Order Update)

These can be used to personalize e-mails sent out for, e.g., abandoned cart, order update, etc.

@[KUNDE_NAVN]@
Customer's name

@[ORDRENUMMER]@
Order number

@[KUNDE_EPOST]@
Customer's e-mail

@[ORDREDATO]@
Date the order was placed

@[KUNDE_TELEFON]@
Customer's phone number

@[SPORINGSNUMMER]@
Tracking number for shipment

@[STATUS]@
Order status

@[KOMMENTAR]@
Any comments made by the administrator when sending

How to Add the Customer's Name in the E-mail

To dynamically add the customer's name, you can use the following code:

@[NAME,ReplacementWord]@

The code will be replaced if we have registered the customer's name. If the name is not available, the code will be replaced with "ReplacementWord".

Example

If this is in the e-mail:
Hello @[NAME,Customer]@, thank you for your order.

When the e-mail is sent out and we have registered that the customer's name is Thomas, this message will be sent to the customer:
Hello Thomas, thank you for your order.

If we do not have the name registered, this message will be sent:
Hello Customer, thank you for your order.

Was this article helpful?