Docs
Addon, button, custom, customer, edit, email, embed, field, id, information, link, merge, Name, notification, specific, template, Personalise, variable, unique
How to use Merge(variable) Fields in Email notifications?
Merge fields in Email notifications are used to personalize emails with your customer's information
35484171
2020-07-20T07:12:37Z
2023-07-31T04:42:54Z
731
1
0
247135
How to use Merge(variable) Fields in Email notifications?
How to add subscription or a customer-specific detail to emails in Chargebee?
How to add payment creditor info to an email?
Where are the merge(variable) fields listed in the Chargebee app?
Summary
Merge fields in Email notifications are used to personalize emails with your customer's information present in Chargebee. To add the information to your notifications template you can use the Mergevars.
You can insert these mergevars in the body of the email to display the information. Mergevars that render a link: Example, Pay Now can be embedded as a custom button.
To use Merge Fields for your Email Notifications, Go to Configure Chargebee > Email Notifications > Select the template > Click on View all Merge Fields and select one notification to obtain the merge field.
To access the Mergevar fields use this sample format link: https://yoursite/notifications/mergevars
How to insert merge field as a link
Click the “+” icon to add a section where you want to include the field as a link
Click the “{}” to the right to select the field name(variable) from the list. (The changes made are automatically saved as drafts)
Click the Publish (top right) to make it available for emails.
You can also choose to use a button to embed the link, this way you can have a tidy button tucking away the raw link.
How to insert merge field as a custom button
Click the “View All Merge Fields” button to the bottom left of the page.
Select an option from the list displayed and click “+”
Copy the link for example, to add a unique addon id select {{addon.id}} link
Now, Go back to Editing the email template
Click “+” > Add button > Custom button
Give Button a name
Paste the {{addon.id}} in Link field and Publish.