Skip to main content

Gift Voucher Emails

note

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.

VariableTypeDescription
[[site_name]]
stringThe name of the site.
[[first_name]]
stringThe first name of the person placing the voucher order.
[[last_name]]
stringThe last name of the person placing the voucher order.
[[email]]
stringThe email address of the person placing the voucher order.
[[order_number]]
stringThe order number of the voucher order. This is the unique identifier for the order.
[[order_date]]
stringThe date the voucher order was placed, formatted in the site timezone and in readable format. (e.g. Monday 31st December 2025)
[[order_total]]
stringThe total amount of the voucher order - formatted in the currency of the site. (e.g. £100.00)
[[order_status]]
stringThe status of the voucher order (e.g. "Pending", "Completed").
[[order_should_expire]]
booleanA true/false value indicating if the voucher order should expire if payment isn't made.
[[order_expiry_datetime]]
stringThe 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]]
stringThe 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.

VariableTypeDescription
[[site_name]]
stringThe name of the site that the voucher has been purchased for.
[[site_email]]
stringThe email address of the site that the voucher has been purchased for.
[[full_name]]
stringThe full name of the person who placed the voucher order, formatted as "First Last".
[[voucher_type_name]]
stringThe name of the voucher type that the voucher is for. This is set per voucher type.
[[voucher_code]]
stringThe unique code for the voucher. This is set per voucher type and is unique to each voucher.
[[voucher_expires]]
stringThe 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]]
stringIf custom terms are set for the voucher, this will be the text of those terms.
[[redemption_instructions]]
stringThe instructions for redeeming the voucher. These are also set per voucher type.
[[personalised]]
booleanA true/false value indicating if the voucher is personalised.
[[personalisation_name]]
stringThe name of the person who is receiving the voucher, if personalised.
[[personalisation_message]]
stringThe message for the person receiving the voucher, if personalised.