Skip to main content

Liquid variable reference guide

Sam Forde avatar
Written by Sam Forde
Updated over 10 months ago

Available variables

The following variables can be used when interacting with orders and email templates.

{{ attributes.Checkout-Method }}
{{ attributes.Pickup-Location-Company }}
{{ attributes.Pickup-Location-Phone }}
{{ attributes.Pickup-Location-Address-Line-1 }}
{{ attributes.Pickup-Location-Address-Line-2 }}
{{ attributes.Pickup-Location-City }}
{{ attributes.Pickup-Location-Id }}
{{ attributes.Pickup-Location-Region }}
{{ attributes.Pickup-Location-Postal-Code }}
{{ attributes.Pickup-Location-Country }}
{{ attributes.Pickup-Date }}
{{ attributes.Pickup-Time }}
{{ attributes.Delivery-Date }}
{{ attributes.Delivery-Time }}
{{ attributes.Delivery-Note }}
{{ attributes.Delivery-Day }}
{{ attributes.Delivery-Location-Id }}
{{ attributes.Custom-Attribute-1 }}
{{ attributes.Custom-Attribute-2 }}
{{ attributes.Custom-Attribute-3 }}
{{ attributes.Shipping-Date }}

Differentiate between pickup, delivery and shipping

If you want to display different content based upon the checkout method use the attributes.Checkout-Method

{% if attributes.Checkout-Method == "pickup" %}
This is a pickup order
{% endif %}
{% if attributes.Checkout-Method == "delivery" %}
This is a delivery order.
{% endif %}
{% if attributes.Checkout-Method == "shipping" %}
This is a shipping order
{% endif %}
Did this answer your question?