Gift Voucher Emails
Gift Voucher emails are a special case with regards to variables, and have their own variables specific to the order and vouchers. The global variables will not be available in this context. Instead, these are the only variables available.
Gift Voucher Order Confirmed / Gift Voucher Awaiting Payment​
The following variables are available in both of these emails.
Additionally, the Gift Voucher Order Confirmed email will include the gift voucher PDFs as attachments.
Variable | Type | Description |
---|---|---|
[[site_name]] | string | The name of the site. |
[[first_name]] | string | The first name of the person placing the voucher order. |
[[last_name]] | string | The last name of the person placing the voucher order. |
[[email]] | string | The email address of the person placing the voucher order. |
[[order_number]] | string | The order number of the voucher order. This is the unique identifier for the order. |
[[order_date]] | string | The date the voucher order was placed, formatted in the site timezone and in readable format. (e.g. Monday 31st December 2025) |
[[order_total]] | string | The total amount of the voucher order - formatted in the currency of the site. (e.g. £100.00) |
[[order_status]] | string | The status of the voucher order (e.g. "Pending", "Completed"). |
[[order_should_expire]] | boolean | A true/false value indicating if the voucher order should expire if payment isn't made. |
[[order_expiry_datetime]] | string | The date and time when the voucher order will expire if payment isn't made, formatted in the site timezone and in readable format. (e.g. Monday 31st December 2025 07:00 pm) |
[[order_payment_link]] | string | The payment link for the voucher order, if available. |
Gift Voucher PDFs​
You can also use a variety of ATL variables inside the voucher PDF that comes attached to the Gift Voucher Order Confirmed email. This allows you to customise the voucher PDFs with information about the order and the person who placed it.
If personalisation is enabled, the voucher PDFs will also include the name of the person who placed the order, and the name of the person who is receiving the voucher.
Variable | Type | Description |
---|---|---|
[[site_name]] | string | The name of the site that the voucher has been purchased for. |
[[site_email]] | string | The email address of the site that the voucher has been purchased for. |
[[full_name]] | string | The full name of the person who placed the voucher order, formatted as "First Last". |
[[voucher_type_name]] | string | The name of the voucher type that the voucher is for. This is set per voucher type. |
[[voucher_code]] | string | The unique code for the voucher. This is set per voucher type and is unique to each voucher. |
[[voucher_expires]] | string | The date and time when the voucher expires, formatted in the site timezone and in readable format. (e.g. Monday 31st December 2025 07:00 pm) |
[[custom_terms]] | string | If custom terms are set for the voucher, this will be the text of those terms. |
[[redemption_instructions]] | string | The instructions for redeeming the voucher. These are also set per voucher type. |
[[personalised]] | boolean | A true/false value indicating if the voucher is personalised. |
[[personalisation_name]] | string | The name of the person who is receiving the voucher, if personalised. |
[[personalisation_message]] | string | The message for the person receiving the voucher, if personalised. |