We’ve introduced a new feature that allows you to automatically display discount codes (including gift cards) in return confirmation emails when instant credit is issued through your Shopify integration.
This enhancement ensures customers can easily access and use their store credit, improving both clarity and conversion.
🧩 How It Works
A new variable has been added:
[*discount_code*]
This variable dynamically includes:
- Discount Codes
- Gift Cards
These are the two supported methods for issuing instant credit via Shopify.
💻 Implementation Example
Use the following HTML snippet in your return email template:
<!-- @exists discount_code -->
<tr>
<td style="[*body_font*]font-size: 14px;[*secondary_color*]line-height: 24px">
Discount Code
</td>
<td> </td>
<td align="right"
style="[*body_font*]font-size: 14px;[*secondary_color*]line-height: 24px">
[*discount_code*]
</td>
</tr>
<!-- @end-exists discount_code -->
📝 Best Practices
- Place this block near the refund or credit details in your email
Keep styling consistent with your existing template
Comments
0 comments
Please sign in to leave a comment.