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

In this article:

Order variables

















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:

    {{quantity}} x {{title}} | {{displayPrice}}

Document variables


Customer variables

Show information about your customers.


Company variables

These variables display information about your company.


Employee variables

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


Custom field variables

You can use variables in your email templates to quickly populate your emails with custom field data.

Variables for custom fields have the following structure:


You'll need to replace the context and the field_id to target the correct custom field:

  • The context can be order, customer, or product.

  • To find the field_id, go to Settings > Custom fields and view a custom field:

Custom field variables for customers and orders

So putting it all together, a variable for a customer's address could look like this:


And a variable for order packing notes could look like this:


Custom field variables for products

Like other email variables for products, custom fields for products are always added in an order line section. This section renders product lines for all products on an order. It begins with {{#order.lines}} and ends with {{/order.lines}}.

Here's an example:


Did this answer your question?