Liquid Support for Email Templates

If you’re looking to take your email templates to the next level with expanded options, personalization and flexibility inside the template, Liquid is the answer (access Liquid here). Liquid is a template language developed by Shopify that can be used inside of Flashy’s email editor to extend its power. With this impressive tool, you can make conditions, utilize information from the customer profile and employ helper functions to show specific information inside the email.

Let’s take a look at a few use case examples to explore the unique capabilities of Liquid within Flashy’s email templates:

  1. In the left side menu of the Liquid site, there are many Filter options. Let’s select the Date option for this example. The Date filter allows you to select a timestamp format to include in your emails. It will display the live current date when the email is sent. 

Liquid shows the input codes to include in your email template - such as 

{{ “now” I date: “%a, %b, d%, %y }} - as well as the output - such as 2020-08-30 20:59, which is the way it will appear to the customer. Simply copy and paste the input code of your choice into your email template. Return to your template preview to view the date as your customers will see it.

  1. Say that you want to offer free shipping to customers whose orders are valued at $200 or more. When a customer adds an item to their cart, you want to notify them of the offer and of how much more they need to spend to get the free shipping. To do this, you need to know two things: the customer’s cart value and the answer to the equation 

“$200 - cart value.” Liquid’s Minus function produces this information for you. Use it to insert the equation into your template: “$200 - cart value.” Insert the “cart value” property by opening the Contact Properties dropdown menu in the email editor at the top of the template and selecting “Cart Value.” This will automatically add the amount the customer needs to spend into the email they receive.

  1. With the Control Flow function, you can choose the “If” option to show text only to a specific set of customers; for example, only customers from the United States.  It is even possible to set different “if” statements within each element of the template.

These are just a few of the many ways that Liquid’s functions can help improve and expand your email template capabilities. Try it out today, and watch your customers respond to the upgrade in personalization and flexibility!