This variable gives access to the following properties of an abandoned cart or browse:
url displays the URL of the abandoned checkout.
products_added_to_cart displays the first five product line items added to the cart of the abandoned visit. Additionally, each products_added_to_cart object contains the following properties about each product:
products_viewed displays the first five products viewed during the abandoned visit. Additionally, each products_viewed object contains the following properties about each product:
remaining_cart_products_count displays the remaining line items count, if there are more than five line items in the abandoned checkout.
This variable gives access to the following email properties:
subject displays the subject line of the email.
preview_text displays the preview text of the email.
This variable gives access to the following shop properties:
name displays the shop name.
domain displays the shop primary domain.
url displays the shop URL.
shopify_domain displays the shop Shopify domain.
address displays the shop address, which exposes the following address properties:
branding displays the shop branding, which includes the following properties:
logo, which is rendered as an img tag directly.
Using required variables
When you create a custom Liquid email, the variable unsubscribe_link variable is required. If you've activated open tracking, then the open_tracking variable is also required.
Although these variables can be inserted anywhere in the code for your email, the most common place to add them is in an email's footer section, such as in the following example:
Example of custom Liquid code
You can add your custom Liquid or HTML in the code editor. The following code is an example of how you can add Liquid code to display your store name, a custom button, and a custom-sized image in an email message.