This page describes the syntax in which Demandware transactional email variables should be coded in the emails sent by Emarsys.

These variables can be used in any combination in their respective event emails. To use the variables simply type in the placeholder syntax as shown below (for example: %%product_name%%) into the header, body text or subject line of the email. We recommended that you select the variables you want and test them until you find the combination that best suits your needs.

The placeholder names shown are the ones given by default, but they can all be changed in Demandware.

Order Confirmation

The following placeholders are available for order confirmation emails.

Global placeholders

Demandware variable Emarsys placeholder
taxes %%taxes%%
b_address_1 %%b_address_1%%
b_address_2 %%b_address_2%%
b_address_zip %%b_address_zip%%
b_address_city %%b_address_city%%
b_address_country %%b_address_country%%
b_address_phone %%b_address_phone%%
customer_email %%customer_email%%
s_address_1 %%s_address_1%%
s_address_2 %%s_address_2%%
s_address_zip %%s_address_zip%%
s_address_city %%s_address_city%%
s_address_country %%s_address_country%%
s_address_phone %%s_address_phone%%
order_date %%order_date%%
delivery_method %%delivery_method%%
payment_method %%payment_method%%
shipping_costs %%shipping_costs%%
net_sum %%net_sum%%
total_sum %%total_sum%%
order_rebate %%order_rebate%%

Product placeholders

Demandware variable Emarsys placeholder
product_name %%product_name%%
product_quantity %%product_quantity%%
product_url %%product_url%%
product_image %%product_image%%
product_tax %%product_tax%%
product_price_currency %%product_price_currency%%
product_item_price %%product_item_price%%
product_total_price %%product_total_price%%
product_rebate %%product_rebate%%

Shipping Confirmation

The following placeholders are available for shipping confirmation emails.

Global placeholders

Demandware variable Emarsys placeholder
taxes %%taxes%%
b_address_1 %%b_address_1%%
b_address_zip %%b_address_zip%%
b_address_city %%b_address_city%%
b_address_country %%b_address_country%%
b_address_phone %%b_address_phone%%
s_address_1 %%s_address_1%%
s_address_zip %%s_address_zip%%
s_address_city %%s_address_city%%
s_address_country %%s_address_country%%
s_address_phone %%s_address_phone%%
order_date %%order_date%%
order_number %%order_number%%
delivery_method %%delivery_method%%
payment_method %%payment_method%%
shipping_costs %%shipping_costs%%
net_sum %%net_sum%%
total_sum %%total_sum%%
order_rebate %%order_rebate%%
tracking_number %%tracking_number%%
shipping_company %%shipping_company%%
arrival_date %%arrival_date%%
tracking_link %%tracking_link%%

Product placeholders

Demandware variable Emarsys placeholder
quantity %%quantity%%
tax %%tax%%
currency %%currency%%
price %%price%%
product_name %%product_name%%
product_url %%product_url%%
product_image %%product_image%%
total_price %%total_price%%
product_rebate %%product_rebate%%