Email Templates
The emails that are sent out to customers when they place an order are built using templates that you can customise to your own preferences. These templates can be seen in the LibriDirect Settings page in the admin area of your site.
Emails are sent when:
- a customer places an order on your website.
- you take payment from a customer.
- you issue a refund to a customer.
When composing email templates you can insert template tags. These bits of text will be replaced with the relevant values when creating the email that’s actually sent.
Template tags
The following template tags can be used on order emails.
{{customer_name}}
– The customer’s name.{{customer_email}}
– The customer’s email address.{{shipping_rate_name}}
– The name of the shipping rate that will be used for this order.{{shipping_address}}
– The order’s shipping address, displayed on several lines.{{billing_address}}
– The order’s billing address, displayed on several lines. This isn’t collected for orders using the offline payment method.{{message}}
– The message that the customer entered on the checkout page.{{order_number}}
– The unique number assigned to the order.{{order_lines}}
– A list of the books included in the order.{{shipping_charge}}
– The shipping price for this order.{{tax}}
– The total tax charged for this order.{{tax_rate}}
– The tax percentage charged for this order.{{order_total}}
– The total price of the order.{{payment_method}}
– The method used to pay for this order.{{admin_order_url}}
– The URL to view this order in this site’s admin area.