Custom Content
How to customize the content customization of Review Requests using the advanced mode.

How to Enable Advanced Content Edit Mode

This section requires knowledge of Liquid/HTML syntax. Please consult your developer or our support team for help with customization.
If you are familiar with HTML, CSS and Liquid syntax you can edit content using advanced mode by clicking the bottom right dropdown like this:
How to switch to advanced content edit mode.

Content Variables Available (Liquid)

You can reference several variables from the advanced content editor (and even in the non-advanced one really, too). Here is a list of the ones available:
Customer
Order
Line Item
Product
Other Variables
Variable
Description
Type
Example
Value
{{ customer.name }}
Name of the current customer.
String
John Doe
{{ customer.email }}
Email of the current customer.
String
{{ customer.first_name }}
The customer's first name (before the first space)
String
John
{{ customer.last_name }}
The customer's last name (after the first space)
String
Doe
{{ customer.country }}
The customer's country based on their shopping session.
String
Canada
{{ customer.id }}
The ID of the customer in your platform.
String
123
Please see Order Schema found here for variables available for the Order object.
Example order variable use:
1
<p>Your order number is: {{ order.number }}</p>
2
<p>Your order total was: ${{ order.total }}</p>
Copied!
Please see Line Item Schema found here for variables available for each Line Item object.
Example order variable use:
1
<p>Here's what you bought:</p>
2
<ul>
3
{% for line_item in order.line_items %}
4
<li>
5
<a href="{{ line_item.product.url }}"><img src="{{ line_item.product.thumbnail_url }}" style="height: 15px; width: auto; margin-right: 6px;">{{ line_item.name }}</a>
6
x {{ line_item.quantity }}
7
</li>
8
{% endfor %}
9
</ul>
Copied!
Under each line item you will have access to a product attribute. (For example {{ line_item.product.name }}
Please see Product Schema found here for variables available for each Product object.
Variable
Description
Type
Examples
{{ incentives_value }}
The value of the incentive attached to the current content request campaign. This may be written as a range for multi-tier discounts, or as a fixed amount for discount values, or something else.
String
$5-off,
15 points,
$2-10,
20%-off
{{ submission_url }}
This is the URL that you should send the customer to in order to submit content (reviews, photos, videos).
String
https://example.com?fera=submitReview
If the order contains multiple items Fera will automatically iterate through each item when they write the review, so only one submission URL is needed.

Example Custom Content Customization

Here is an example of some custom content that shows the order number, loops through each order line item and shows the image, product URL link and item quantity:
1
<p>Hi {{ customer.first_name }},</p>
2
<p>We're following up on order <b>#{{ order.number }}</b>. How was it?</p>
3
<ul>
4
{% for line_item in order.line_items %}
5
<li>
6
<a href="{{ line_item.product.url }}"><img src="{{ line_item.product.thumbnail_url }}" style="height: 15px; width: auto; margin-right: 6px;">{{ line_item.name }}</a>
7
x {{ line_item.quantity }}
8
</li>
9
{% endfor %}
10
</ul>
11
<p><a href="{{ submission_url }}"><b>Write your reviews here!</b></a></p>
12
<p>Thanks!</p>
Copied!
Here is the result:
Example of editing advanced custom content to include order item/product names, order number, product images and links.
Tip: Use this great Liquid Syntax Cheat Sheet supplied by the folks at Shopify.
Last modified 1mo ago