Member Credit Emails
NATS3 allows you to customize the content seen by your members for each e-mail event in the Sites Admin. Along with the basic Smarty Template capabilities, you can also use certain variables to add transaction-specific data into the e-mail body. This article describes the special variables that you have access to in the mail_members_credited e-mail template.
Available Variables
The mail_members_credited mailing template supports an assortment of Smarty variables, which can be used to provide members about their credit transaction. This includes information such as the member's data, biller information, and credit amount. The full list of available Smarty variables is as follows:
- $campaign - Contains the campaign used by an affiliate to categorize the referral.
- $member_data - Contains all relevant member information for that transaction.
- $billername - The name of the biller used to process the transaction.
- $orderid - The transaction ID number of the credit.
- $amount - Provides the dollar amount of the credit transaction in xxx.yy form.
- $sitename - The name of the site that the member received a credit from.
Insert any of these variables into your mailing template to provide the member performing the credit with information regarding the transaction. You can insert as many Smarty variables as you wish in your NATS e-mails, to include as much information as you wish.
Example
You can provide the member with the name of the site they received a credit from, as well as the dollar amount they received from the credit and the biller they processed the transaction through with the following:
Your credit from {$sitename} has been successfully processed through {$billername} for {$amount}.