You can use variables to automatically populate email templates with order properties like products, prices and rental period. 

Order variables

Important: Variables prefixed with order only work for manual email templates.
To use these variables for the Online reservation confirmation, you need to replace order with cart .

{{order.number}}
{{order.status}}
{{order.startsAt}}
{{order.stopsAt}}
{{order.deposit}}
{{order.depositType}}
{{order.depositValue}}
{{order.discount}}
{{order.discountPercentage}}
{{order.price}}
{{order.grandTotal}}
{{order.totalTax}}
{{order.grandTotalWithTax}}
{{order.totalDiscount}}
{{order.couponDiscount}}

Products and line items

To show information about the products on an order, you need to wrap the variables between {{#order.lines}} and {{/order.lines}}. The information is displayed for every product on the order.

For example:

{{#order.lines}}
    {{quantity}} x {{title}} | {{displayPrice}}
{{/order.lines}}

As with Order variables, replace order with cart when adding variables to the Online reservation confirmation template.

Document variables

{{document.name}}
{{document.number}}
{{document.date}}
{{document.deposit}}
{{document.depositHeld}}
{{document.depositPaid}}
{{document.depositRefunded}}
{{document.depositToRefund}}
{{document.paid}}
{{document.prefix}}
{{document.prefixWithNumber}}
{{document.reference}}
{{document.status}}
 {{document.discount}}
{{document.discountPercentage}}
{{document.toBePaid}}
{{document.price}}
{{document.grandTotal}}
{{document.grandTotalWithTax}}
{{document.couponDiscount}}
{{document.totalDiscount}}

Customer variables

Show information about your customers.

{{customer.name}}
{{customer.mainAddress}}

{{customer.avatarUrl}}
{{customer.email}}
{{customer.number}}
{{customer.discountPercentage}}
{{customer.depositType}}
{{customer.depositValue}} 

Company variables

These variables display information about your company.

{{company.name}}
{{company.address}}

{{company.addressLine1}}
{{company.addressLine2}}  
{{company.city}}
{{company.country}}
{{company.email}}
{{company.financialLine1}}
{{company.financialLine2}}
{{company.phone}}
{{company.zipcode}} 

Employee variables

These variables display information about the Booqable user who's sending the email.

{{employee.name}}
{{employee.firstName}}
{{employee.lastName}}
{{employee.avatarUrl}}
{{employee.email}} 


Did this answer your question?