How Replacement Variables Work
Within an email template, you can insert a value (replacement variable) into both the
HTML and text versions of the email. Order Manager will subsequently replace these
replacement variables with the context relevant to the template. For instance, you can place the value “[%Retailer.Store-Hours%]” in any of the templates, and Order Manager will replace it with the actual store hours retrieved from the system configuration.
Here is an example email template:
Thank you for your order. We are sending this email to verify that we have met your expectations and to ascertain whether we can provide any additional assistance. Please be reminded that our store is open [%Retailer.Store-Hours%] and you can contact us by phone at [%Retailer.Telephone%].
We appreciate the opportunity to serve your awards and personalization needs.
[%Signature%]
Assuming you have the following fields set in System Configuration:
Store Hours:
Phone Number:
Signature:
9am to 6pm Monday through Friday, Saturday, 9am to 1pm
775-996-1343
Awards Company
Customer Service
Web: https://northpoleawards.com
The above template will have the replacement variable values replaced so the final email sent will read as follows:
Thank you for your order. We are sending this email to verify that we have met your expectations and to ascertain whether we can provide any additional assistance. Please be reminded that our store is open 9am to 6pm Monday through Friday, Saturday, 9am to 1pm and you can contact us by phone at 775-996-1343.
We appreciate the opportunity to serve your awards and personalization needs.
Awards Company
Customer Service
Web: https://northpoleawards.com
Certain variables are only accessible within the context of the template. For instance, you cannot include an invoice variable in an order template or an order variable in an account summary template. The following sections provide a detailed description of the variables available for each template.
Available on all Templates
These variables are available on order, invoice, and account summary templates
[%Retailer.Company-Name%]
[%Retailer.Address-Line-One%]
[%Retailer.Address-Line-Two%]
[%Retailer.Address-Line-Three%]
[%Retailer.Telephone%]
[%Retailer.Fax-Phone%]
[%Retailer.Store-Hours%]
[%Retailer.E-Mail-Address%]
[%Additional.EMail.Text%]
[%Signature%]
Account Summary Replacement Variables
These variables are ONLY available on the Account Summary Template
[%Customer.Account-Number%]
[%Customer.Billto-Company-Name%]
[%Customer.Billto-Attention%]
[%Customer.Billto-Address-Line-One%]
[%Customer.Billto-Address-Line-Two%]
[%Customer.Billto-Address-Line-Three%]
[%Customer.Telephone%]
[%Customer.Fax%]
[%Invoice.Total-Balance-Due%]
Invoice Replacement Variables
These variables are ONLY available on Invoice Templates
[%Invoice.Account-Number%]
[%Invoice.Invoice-Number%]
[%Invoice.Billto-Company-Name%]
[%Invoice.Billto-Attention%]
[%Invoice.Billto-Address-Line-One%]
[%Invoice.Billto-Address-Line-Two%]
[%Invoice.Billto-Address-Line-Three%]
[%Invoice.Telephone%]
[%Invoice.Fax%]
[%Invoice.Date-Billed%]
[%Invoice.Date-Due%]
[%Invoice.Payment-Terms%]
[%Invoice.PO-Number%]
[%Invoice.Ordered-By%]
[%Invoice.Sub-Total%]
[%Invoice.Shipping-Charges%]
[%Invoice.Sales-Tax%]
[%Invoice.Total%]
[%Invoice.Credits-Applied%]
[%Invoice.Balance-Due%]
[%Invoice.Sub-Total-Text%]
[%Invoice.Shipping-Charges-Text%]
[%Invoice.Sales-Tax-Text%]
[%Invoice.Total-Text%]
[%Invoice.Credits-Applied-Text%]
[%Invoice.Balance-Due-Text%]
Order Replacement Variables
These variables are ONLY available on Order Templates
[%Order.Order-Number%]
[%Order.Billto-Company-Name%]
[%Order.Billto-Contact-Name%]
[%Order.Billto-Address-Line-One%]
[%Order.Billto-Address-Line-Two%]
[%Order.Billto-Address-Line-Three%]
[%Order.Telephone%]
[%Order.Fax%]
[%Order.Shipto-Method%]
[%Order.Shipto.Address-Type%]
[%Order.Shipto-Company-Name%]
[%Order.Shipto-Contact-Name%]
[%Order.Shipto-Address-Line-One%]
[%Order.Shipto-Address-Line-Two%]
[%Order.Shipto-Address-Line-Three%]
[%Order.Date-Ordered%]
[%Order.Expected-Completion-Date%]
[%Order.Terms%]
[%Order.Purchase-Order-Number%]
[%Order.Resale-Number%]
[%Order.Order-Total%]
[%Order.Coupons-Total%]
[%Order.Sales-Tax%]
[%Order.Shipping-Charges%]
[%Order.Credits-Applied%]
[%Order.Balance-Due%]
[%Order.Order-Total-Text%]
[%Order.Coupons-Total-Text%]
[%Order.Sales-Tax-Text%]
[%Order.Shipping-Charges-Text%]
[%Order.Credits-Applied-Text%]
[%Order.Balance-Due-Text%]