All Collections
Personalizing through liquid
Cheat sheet liquid - Which variables are available in Reloadify?
Cheat sheet liquid - Which variables are available in Reloadify?

In this article, you will find all the liquid available in Reloadify

Carola avatar
Written by Carola
Updated over a week ago

What variables in liquid are available in Reloadify? You can find a cheat sheet you can use here:

1. Customer variables

Variables

Liquid

First name

{{first_name}}

Last name

{{last_name}}

Email address

{{email}}

Street

{{street}}

Housenumber

{{housenumber}}

Zipcode

{{zipcode}}

City

{{city}}

Province

{{province}}

Date of birth

{{birthdate}}

Name of last ordered product

{{last_ordered_product_name}}

Date of last order

{{last_order_date}}

Value of the last order

{{last_order_amount}}

Order number of the last order

{{last_order_id}}

Unsubscribe link

{{unsubscribe}}

Subscribe link

{{subscribe}}

Link to email preferences

{{mailing_preferences}}

All tags of a profiel

{{tags}}

Age of a profile

{{age}}

Segments

Automatically created when saving a segment

2. Link variables

Variables

Liquid

URL from the webshop

{{main_domain_url}}

Unsubscribe link

{{unsubscribe_link}}

Shopping cart URL

{{shopping_cart_url}}

Link for the online version of an e-mail

{{online_version_url}}

The anti spam text

{{anti_spam_text}}

3. Product variables

Variabele

Liquid

Product name

{{ product.name }}

Price of a product

{{ product.price }}

Price of a product rounded to 2 decimals with period

{{ product.price | money }}

Price of a product rounded to 2 decimals with period and euro sign

{{ product.price | money | with_currency: '€' }}

Price of a product rounded to 2 decimals with comma and euro sign

{{ product.price | money | with_currency: '€' | with_comma }}

Product price ex. VAT

{{ product.price_excl }}

Short description of a product

{{ product.short_description }}

URL of a product

{{ product.url }}

Brand of a product

{{ product.brand }}

❗️ Note: Are you using a product feed with multiple (unique) products? Then change the liquid from product to products[0]. So for example: {{ products[0].name }}. With each product you add a new number.

4. Product variant variables

Variables

Liquid

Variant name

{{ variant.name }}

Price of a variant

{{ variant.price }}

Short description of a variant

{{ variant.short_description }}

Long description of a variant

{{ variant.description }}

SKU of a variant

{{ variant.sku }}

Image of a variant

{{ variant.main_image }}

❗If nothing is shown for the product variant variables, this information is missing from your own database. If this is empty in your shop, nothing will be shown.

5. Review variabelen

Variables

Liquid

Link to a product review

{{ product.review_link }}

Link to review form for the last ordered product

{{last_ordered_product_review_url}}#review-form

6. Row variables

Below you can see all the rows with dynamic products. Note that these are also ready for you as default feeds in the email editor.

Variables

Liquid

All last ordered products (looped)

{% for product in last_ordered_products_collection_array %}

Fixed number of last ordered products

{% assign products = last_ordered_products_collection %}

Alle first ordered products (looped)

{% for product in first_ordered_products_collection_array %}

Fixed number of first ordered products

{% assign products = first_ordered_products_collection %}

All cross sell products (looped)

{% for product in crosssell_products_collection_array %}

Fixed number of cross sell products

{% assign products = crosssell_products_collection %}

All products from abandoned shopping cart (looped)

{% for product in abandoned_shopping_cart_collection_array %}

Fixed number of products from abandoned shopping cart

{% assign products = abandoned_shopping_cart_collection %}

All ordered products from selected segment (looped)

{% for product in ordered_products_from_segment_array %}

All products for review (looped)

{% for product in review_products_collection_array %}

Fixed number of products for review

{% assign products = review_products_collection %} {% if products[0] != nil %}

❗️ The product feeds with "all" in front of them are looped rows. These show all products that a customer bought, for example, in his last order. In this article you can read how to limit the number of products.

💡 Have you created your own dynamic product feed and want to look up the row variable from it? Then add the row in your email, stand on the row and click on 'display condition':

👉 Do you want to show your specific row to a specific audience or not to a specific audience? Then check out this article on showing content based on a specific tag and show content based on a segment.

Did this answer your question?