Acquire supports Liquid, an open-source template language created by Shopify and written in Ruby. It is used by e-commerce merchants to load dynamic content on storefronts.

You can now easily create a personalized checkout link that tailors to your customer segment or individual shopper. In this article we will provide best practices and examples, and you can find the full documentation here: Liquid template language

Example 1 - Display your shopper's first name

You can create a personalized welcome message that includes your shopper's first name by copy and pasting this to a content block in your checkout link:

Code:

Welcome {{first_name}}

Code screenshot in the content block:

Result:

Example 2 - Display your shopper's first name with IF statement

If you don't know your Shopper's first name, you can also create an IF statement to display two scenarios:

  1. If first name is available: display first name

  2. If first name is not available: display "our dear customer"

Code:

Here is our top bike selections for
{% if first_name %}
{{first_name}}
{%else%} our dear customer
{%endif%}


Code screenshot in the content block:


Result:

Example 3 - Display personalized media content for new vs return buyer

You can also create multiple conditions to display different media contents for different customer segment.

  1. Display picture 1 for new customer

  2. Display picture 2 for loyal customer

  3. Display picture 3 if there is no customer status

Code:

{% case customer %} 
{% when "new" %}
<!-- Replace this line with your upload picture -->
{% when "loyal" %}
<!-- Replace this line with your upload picture -->
{% else %}
<!-- Replace this line with your upload picture -->
{% endcase %}


Code screenshot in the content block:

Result:

Did this answer your question?