We support multiple gift-related email notifications that can be enabled in Email Manager listed here.
At the moment, some of the available variables listed on the left-hand side when editing the email template, including {{gift_sender}} and other {{gift_*}} variables, are returning empty values in case used in the notifications. These variables were only used in old gift emails which have been deprecated.
We are working on removing these variables from the list in the Email Manager.
In the interim, you can use other variables to display the necessary information. For example, the {{user}} or {{user_email}} variable is found to be working fine in case you would like to include the username or email of the gift sender in the notification. The {{voucher_expires}} variable is used to show the expiration date of the gift voucher and is working as expected.
Other variables that can be used are listed below:
-
business_name: Taken from the "Business name" field in the "Edit business" section of your Piano application (accessible from the Piano Dashboard).
-
resource_name: The name you specified when creating the resource the gift recipient is gaining access to.
-
resource_url: The URL you specified when creating the resource the gift recipient is gaining access to.
-
voucher_code: The unique seven-digit code a gift recipient receives in order to redeem the gift.
-
voucher_message: The personalized message a gift giver writes to a gift receiver.
-
voucher_period: The duration of access being given (1 week, 4 weeks, 1 month, 3 months, 6 months, or 1 year).
-
voucher_recipient_name: The name of the gift recipient (specified by the gift giver during purchase).
-
voucher_redeem_url: The Redemption URL specified when creating the gift term where the gift receiver goes to input the voucher code and redeem the gift.