How to Customize Email Templates Using Email Variables
Overview
Yanet Returns & Exchanges allows you to customize your email templates to match your brand and provide customers with relevant information about their return and exchange requests.
You can edit email content, personalize messages using email variables, adjust the appearance of your templates, and restore the default template whenever needed. Both Classic and Advanced email template editors provide tools to help you customize your emails.
This guide explains how to use the email template editors and make the most of the available customization features.
1. Access the Email Template Editor
To get started, open Yanet Returns & Exchanges in your Shopify admin and navigate to the email template you want to customize.
Depending on the available editor, you can customize your email using either the Classic or Advanced editor.
- Classic editor: Edit the email subject and HTML content directly. Use email variables to insert dynamic information into your email.
- Advanced editor: Customize individual email fields, adjust the email's appearance, and preview your changes in a more structured interface.
Both editors include an Email Variables panel to help you find and insert the information you need.

2. Customize Your Email Content
You can personalize the content of your email templates to provide customers with clear and relevant information about their requests.
Using the Classic Editor
In the Classic editor, you can customize the email subject and HTML content.
- Open the email template you want to edit.
- Update the Email subject field to change the subject line.
- Edit the HTML content area to customize the email body.
- Use the Email Variables panel to find and insert dynamic information where needed.
- Preview your changes to check how the email will appear.
- Save your changes when you are satisfied with the result.
The Classic editor is suitable for merchants who want direct control over their email HTML and layout.

Using the Advanced Editor
The Advanced editor organizes email customization into individual fields, making it easier to edit specific parts of your message without modifying the entire HTML template.
Depending on the template, you can customize fields such as:
- Email subject: The subject line displayed in the recipient's inbox.
- Title: The main heading of the email.
- Subtitle: Additional text displayed beneath the title.
- Greeting: The opening message addressed to the customer.
- Message: The main body of the email.
- Appearance: Customize visual elements such as logo size, product image size, border style, and color.
- Additional sections: Customize the information displayed in other supported sections of the template.
To customize an email:
- Open the email template in the Advanced editor.
- Select the field you want to modify.
- Enter your preferred text or insert an appropriate email variable.
- Adjust the appearance settings as needed.
- Review the email in the preview panel.
- Save your changes.
The preview panel helps you review the email layout and content before saving your changes.

3. Search for Email Variables
Email variables allow you to insert dynamic information into your email templates instead of manually entering values that may change for each order or request.
For example, you can use variables to display an order number, customer email address, return request number, or other supported information.
Both the Classic and Advanced editors include an Email Variables panel with a search field.
To find a variable:
- Locate the Email Variables panel in the editor.
- Enter a variable name or path in the search field.
- Review the matching results.
- Select or copy the variable you need.
- Insert it into the appropriate email field or HTML content area.
The variable search helps you find the correct value more quickly, especially when the template supports many variables.
Examples of Email Variables
The following are examples of variables that may be available in the editor:
Information | Example variable |
|---|---|
Order name |
|
Customer email |
|
Customer phone |
|
Currency code |
|
Customer locale |
|
Order creation date |
|
Available variables depend on the data supported by the selected template. Search the Email Variables panel to find the variables available for your email. |
4. Use Suggested Variables for Each Email Template
To make customization easier, the editor provides suggestions for variables that are relevant to each email template.
These suggestions help you identify useful variables without having to search through the entire variable catalog.
To use the suggestions:
- Open the email template you want to customize.
- Locate the suggested variables for that template in the Email Variables panel.
- Review the available suggestions.
- Copy the variable you need and insert it into the appropriate field or content area.
- Preview the email to confirm that the information appears as expected.
Choose variables that are relevant to the purpose of the email. For example, an email notifying a customer about a return request should use information related to that request whenever those variables are available.
If you need a variable that is not included in the suggestions, use the search field to look for it in the available catalog.
5. Add More Information in the Advanced Editor
The Advanced editor provides a structured way to customize email content and display additional information.
Where dynamic rows are supported, you can add more rows to display multiple values in the same section. This is useful when you need to include several pieces of information in an email without placing everything in a single text field.
To add additional information:
- Open the email template in the Advanced editor.
- Locate the section you want to customize.
- Add a new row using the available row control.
- Enter the information or select the appropriate variable for that row.
- Repeat these steps to display additional values as needed.
- Review the preview to check the order, spacing, and readability of the information.
- Save your changes.
Use separate rows to keep related information organized and easy to scan. For example, you may want to display different return details on separate lines rather than combining them into one long message.
The available fields and row controls may vary depending on the selected email template.
6. Customize the Email Appearance
In the Advanced editor, you can adjust supported visual settings to make your email more consistent with your brand.
Depending on the template, available settings may include:
- Logo size: Adjust the size of your email logo.
- Product image size: Change the size of product images displayed in the email.
- Border style: Choose an available border style, such as solid, dashed, or dotted.
- Color (HEX): Set a color using a HEX color code or select from the available color options.
To customize the appearance:
- Open the email template in the Advanced editor.
- Locate the Appearance section.
- Adjust the available settings.
- Review the preview to see how the changes affect the email.
- Save your changes.
For the best results, use consistent colors, appropriate image sizes, and a readable layout across your email templates.
7. Preview and Save Your Changes
Before applying your customized template, review the email to make sure the content and layout are correct.
In the Classic editor, use the available preview function to review your HTML template. In the Advanced editor, check the preview panel while editing individual fields.
Before saving, check the following:
- The email subject and message are correct.
- The appropriate variables are used in the relevant fields.
- The email layout is clear and readable.
- Images, borders, and colors appear as expected.
- Any additional rows display the intended information.
- No unsupported or outdated variables remain in your saved content.
If the editor displays a warning that a variable is not found in the current catalog, review that variable before sending the email. An outdated or unsupported variable may not display the expected information.
Once you have checked the template, save your changes.

8. Reset the Email Template to the Default
If you want to discard your customizations and restore the latest default template, use the Reset to latest default button.
This option is available in the email template editor.
To reset a template:
- Open the email template you want to restore.
- Locate Reset to latest default in the upper-right corner of the editor.
- Click the button.
- Review the restored template.
- Save your changes if the editor requires you to confirm or save the reset.
Resetting the template is useful if your customizations cause unexpected results or you want to start again from the latest default version.
Important: Resetting restores the latest default template and may replace your existing customizations. Review the result carefully before saving or using the template.

Frequently Asked Questions
1. Can I search for email variables in both editors?
Yes. Both the Classic and Advanced editors provide an Email Variables search field so you can find variables by name or path.
2. How do I know which variables I can use?
Check the Email Variables panel in the selected template. You can review the suggested variables or search the available catalog for a specific variable.
3. What should I do if a variable is not found in the current catalog?
Review the variable and confirm that it is supported by the selected template. If the variable is outdated or unavailable, replace it with a supported alternative where possible.
4. Can I display multiple values in the Advanced editor?
Yes, in sections that support dynamic rows. Add rows as needed, insert the appropriate information or variables, and review the preview to ensure the content is displayed correctly.
5. How can I restore the original email template?
Click Reset to latest default in the upper-right corner of the editor. Review the restored template and save your changes if required.
6. Do I need to edit HTML to customize my email?
Not necessarily. The Classic editor allows you to edit HTML directly, while the Advanced editor provides structured fields and visual settings for supported customizations.
Updated on: 19/10/2026
Thank you!
