Skip to main content
All CollectionsDevelopers
Liquid variable reference guide
Liquid variable reference guide
Clemency Farmer avatar
Written by Clemency Farmer
Updated over 3 months ago

Available variables

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

{{ attributes.Checkout-Method }}
{{ attributes.Menu-Id }}
{{ attributes.Pickup-Location-Company }}
{{ 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-Location-Id }}
{{ Zone-Id }}
{{ Order-Notes }}

Differentiate between pickup and delivery

If you want to display different content based upon the checkout method, use 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 %}


Did this answer your question?