Tradepoint Business Management Solutions - Everything Business, connected.
Shopping CartCart: 0 Items, Total: $0.00
Login to your Account
Get a FREE Demo - Try Tradepoint for 30 days

Successful Web Order Email Template Replacement Values

Jul/21/2008


Related Articles

When an order is successfully completed through the website an email can be sent to the customer with the details of the Order. A template is used to specify the layout of the email and the information included. Information about the Order, Customer, and Division dynamically set when the email is sent to the customer by specifying replacement tags within the template. Listed below are the replacement tags that are currently recognized.

Placeholder Value Description
{division.name} The name of the division regardless of if there is a referrer for the order.
{sender.name} The name of the referrer or division.
{sender.address} The primary address of the referrer or division.
{sender.phone} The Phone 1 value of the referrer or division.
{sender.email} The order status email address of the referrer or the primary email address of the division.
{customer.name} The customer's full name.
{customer.name.salutation} The salutation of the customer's name.
{customer.name.first} The customer's first name.
{customer.name.middle} The customer's middle initial.
{customer.name.last} The customer's last name.
{customer.name.suffix} The suffix of the customer's name.
** If the customer is not an individual, then the last name will be the complete name and the other replacement tags will be replaced with nothing. The tag {customer.name} will always return the complete name **
{customer.accountno} The customer's account number.
{customer.phone} The customer's primary phone.
{customer.email} The customer's email address.
{customer.billingaddress} The customer's billing address.
{customer.shippingaddress} The shipping address for the customer used for the order.
{customer.shippingaddress.name} The shipping address name.
{customer.shippingaddress.attentionto} The shipping address attention to.
{order.ordernumber} The order number without the prefix.
{order.ordernumber.prefix} The prefix for the order number.
{order.po} The order PO number.
{order.status} The order's current status.
{order.date} The date of the order.
{order.creditcard.number} The last four digits of the credit card used in the pre-authorization.
{order.creditcard.type} The type of credit card if able to determine, else will be empty.
{item.detailtemplate.start} Marks the start of a repeated region for listing the order item details.
<!--{item.detailtemplate.start}--> Marks the start of a repeated region for listing the order item details.
{item.detailtemplate.end} Marks the end of the repeated region listing the order items details. Everything between the template start and end if repeated for each order item in the order.
<!--{item.detailtemplate.end}--> Marks the end of the repeated region listing the order items details. Everything between the template start and end if repeated for each order item in the order.
{item.productname} The name of the product for the order item. [obsolete: use {item.product.name} ]
{item.product.type} The name of the product packaging for the order item.
{item.product.name} The name of the product for the order item.
{item.product.model} The model number of the product.
{item.units} The number of units purchased for that order item.
{item.cost} The cost per unit for the order item.
{item.shippingstatus} The shipping status for the order item.
{order.subtotal} The order's subtotal.
{order.shipping.method} The name of the shipping method selected.
{order.shipping.cost} The cost of the shipping for the order.
{order.tax1.name} The name of the Tax1 as setup in Tradepoint.
{order.tax1.cost} The amount of tax charged for Tax1.
{order.tax2.name} The name of the Tax2 as setup in Tradepoint.
{order.tax2.cost} The amount of tax charged for Tax2.
{order.grandtotal} The grand total of the order.
{order.discount} The amount set as the discount on the order, this is not inclusive of coupon or gift card values. This is the value that is visible on the Information tab of the order.

* Please note the curly braces at the start and end of each tag, these are required.

None of the placeholder tags are required, and it acceptable for a tag to appear more than once in the email if required. In order for the email to be sent the Customer must provide an email address, the website's Division must have its Contact Us Email address and its name set.

The values for the shipping status ( {item.shippingstatus} ) are as follows:

"Not Available" - if the order, or order item was not found, or a status was unable to be determined
"Cancelled" - if the order was cancelled, all items will return this value
"Out of Stock" - if there is no inventory available for the order item and a PO has not been assigned to order more inventory
"On Order" - if there is no inventory available for the order item and a PO has been assigned to order more inventory
"Not Shipped" - if the order item's units == 0 or if the order's units > 0 and the number of shipped units is 0
"Partially Shipped" - if the order item's units > 0 and the number of shipped units is less than the order item's units
"Shipped" - all the order item's units have been shipped
"Drop-Shipped Separately" - the order item is marked as drop ship


Thank you for Adding an Item to your cart

# of Items Added: 1
Total of Items Added: 0.00
Continue Shopping Show Your Shopping Cart