With our new Liquid Support, here are some possibilities and tips you can customize and personalize your review request emails.
Liquid variable reference:
http://help.stamped.io/article/104-liquid-variable-reference
Liquid documentation:
https://shopify.github.io/liquid/
In This Guide
- Multi-lingual Support
- Personalizing Your Email
- Add product-specific messages in Email
- Placing the Codes in Email Sequence Message
Multi-lingual Support
You can now send review request emails based on the customer's country, speak their local language and increase reviews conversions.
Using the customer's country:
{% if customer.country == "France" %} Bonjour {{customer.first_name}}, Vous avez récemment acheté {{order.featured_product_title}} Obtenez un code de réduction de 10% en soumettant votre avis. {% else %} Hello {{customer.first_name}}, You recently purchased {{order.featured_product_title}} Get a <strong>10% discount code</strong> by submitting your review today. {% endif %}
Using the customer's locale:
{% if customer.locale contains "fr" %} Bonjour {{customer.first_name}}, Vous avez récemment acheté {{order.featured_product_title}} Obtenez un code de réduction de 10% en soumettant votre avis. {% else %} Hello {{customer.first_name}}, You recently purchased {{order.featured_product_title}} Get a <strong>10% discount code</strong> by submitting your review today. {% endif %}
For a list of available liquid variable, use the following guide:
https://stamped-io-help-center.helpscoutdocs.com/article/1080-liquid-variable-reference
Personalizing Your Email
You can further personalize the review email using available variables, here is just one example and the possibilities are endless:
{% assign day = 'now' | date: '%A' %} {% if day == 'Friday' %} Happy weekend, {% else %} Happy {{day}}, {% endif %}
Add product-specific messages in Email
You can also add product specific messages to the email body using product IDs, title
Using Product ID::
{% if order.featured_product_id == 4389960548401 %} You recently purchased {{order.featured_product_title}} Get a <strong>15% discount code</strong> by submitting your review today. {% else %} You recently purchased {{order.featured_product_title}} Get a <strong>10% discount code</strong> by submitting your review today. {% endif %}
Using product title:
{% if order.featured_product_title == ‘raw asparagus’%} You recently purchased {{order.featured_product_title}} Get a <strong>15% discount code</strong> by submitting your review today. {% else %} You recently purchased {{order.featured_product_title}} Get a <strong>10% discount code</strong> by submitting your review today. {% endif %}
You can check here for all the available variable you can check for when finding product specific variables. See Order Variable
Placing the Codes in Email Sequence Message
You can place the above codes in the email sequence message to start customizing the review email for your store:
- Head over to Settings - Customize - Reviews - Email Sequence
- Click on the "HTML" button to change the message input to accept HTML codes
-
Paste the codes into the message and edit accordingly to fit the needs of your store.
-
Your review email will now be rendered accordingly to the liquid codes placed in the message.