How to customize the email template
To change the email template of the RMA notifications, you need to do the following steps:
-
Go to the Marketing -> Email templates.
-
Press the button Add new template.
-
In the dropdown list, select the template that you would like to customize. The current extension templates are placed at the Mirasvit_Rma header.
-
Press the button Load template.
-
Enter the new Template name (e.g. email notification for customer).
-
Change Template subject and Template content as you need, and save the template. Email templates can contain special variables, which allow a high level of customization.
-
Go to the Sales -> RMA -> Settings -> Email Notification Settings. Select your new template in the dropdown list of necessary notifications.
-
Save configuration.
To make the your custom template properly work as Template of Rule Notification, you shall include to its contents
this special variable: {{var email_body | raw}}
. It will be replaced with actual message, set in Workflow rule, at Notifications tab.