Below is the list of supported liquid variables you can use in your review email template/layout.
In This Guide
Shop Variables
{{shop.logo}} | Returns your store's logo with image tag. |
{{shop.name}} | Returns your store's name. |
{{shop.logo_url}} | Returns your logo's URL. |
{{shop.url}} | Returns your store's URL. |
Order Variables
{{order.number}} | Returns the integer representation of the order name. |
{{order.name}} | Returns the name of the order. |
{{order.country}} | Returns the order's country. |
{{order.locale}} | Returns the order's locale. ( Tips: can be used for translating review request email content using the locale) *Shopify only |
{{order.featured_product_image}} | Returns the featured product's image encapsulated in an image tag. |
{{order.featured_product_url}} | Returns the featured product's URL. |
{{order.featured_product_image_url}} | Returns the featured product's image URL. |
{{order.featured_product_title}} | Returns the featured product's title. |
{{order.featured_product_id}} | Returns the featured product's ID. |
{{order.date_created}} | Returns the timestamp of when an order was created. Use the date filter to format the timestamp. |
{{order.date_scheduled}} | Returns the timestamp of when a review request email will be sent for the order. Use the date filter to format the timestamp. |
{{order.products}} | Returns an array of line items for the order. Example on how to pull the product brand: {% for product in order.products %} {% if product.title == order.featured_product_title %} {{product.brand}} {% endif %} {% endfor %} |
{{order.total_amount}} | Returns the total value of the order. |
Customer Variables
{{customer.email}} | Returns the email address of the customer. |
{{customer.first_name}} | Returns the first name of the customer. |
{{customer.last_name}} | Returns the last name of the customer. |
{{customer.country}} | Returns the country of the customer. |
{{customer.city}} | Returns the city of the customer. |
{{customer.state}} | Returns the state of the customer. |
{{customer.locale}} | Returns the customer's locale *Shopify only |
Please see the following article for further tips on personalizing review request emails:
Liquid Tips