A list of liquid variables available in Sky Pilot customizations
Alessandro Macagno
Written byAlessandro Macagno
Last updated 
2 months ago
 by Alessandro Macagno

This is a reference for methods on an available liquid object in email and delivery page templates.

Order

An object representing an order

order_number The order number of the order
id the unique id of the order
date The date of the order. Try {{ order.date | date: '%Y-%m-%d %H:%M:%S' }}
line_items_with_files A collection of all line item objects for the order that has files or videos attached
delivery_url A URL for the delivery page for an order. If the customer has an active account in your shopify store the page will require the user to log in
authenticated_delivery_url A delivery URL for the order that requires the customer to be logged in.  Customers who do not have an account will not be able to access this page.
customer The customer object with the customer who made the order

Shop

An object representing the shop

name The name of the shop

Customer

An object representing a customer and their collection of orders

id The id of the customer from Shopify
orders_with_files 
A collection of all order objects for the customer that have files or videos attached.  This collection is paginated.  Be sure to use   {{ customer.paginate_orders | default_pagination }} To display pagination for this object.
email The email of the customer
enabled A boolean specifying if the customer has an account enabled or not
first_name The first name of the customer
last_name The last name of the customer

Line item

An object representing a line_item in an order

product The product of the line item
variant The variant of the line item
files A collection of all file objects attached to the line item
videos A collection of all videos objects attached to the line item
id the unique id of the line item
collections A collection of all collections objects attached to the line item
title The title of the product and variant purchased
delivery_url A URL for the rendered page by line_item.liquid template representing only files for this line_item in this order

Product

An object representing a product

title The title of the product
featured_image The url of the featured image for the product
id The unique id of the product(from Shopify)

Variant

An object representing a variant
id The Shopify ID of the variant
title The title of the variant

File

An object representing a file

filename The filename of the file
filesize The size of the file(eg. '10Gb')
content_type The content type of the file
download_url The URL for the customer to access a limited download of the file
viewing_url A URL for viewing the file. This is not recommended as views are not limited cannot be limited or secured
id The unique id of the file
download_count the number of times the customer has downloaded the file for this order
download_limit the number of times the customer is allowed to download the file for this order
downloads_remaining the number of downloads remaining for the file for this order
expires_at The date that access to the file expires. Try {{ file.expires_at | date: '%Y-%m-%d %H:%M:%S' }}
delivery_url A URL for the rendered page by file.liquid template representing only this file
collection The collection that the file belongs to

Video

An object representing a video

id The unique id of the video
vimeo_id The id of the video in Vimeo
embed The embed code for the video
thumbnail Image tag containing the thumbnail for the video eg. <img src="video_thumbnail_url" >
title The video title
description The video description from Vimeo
delivery_url A url for the rendered page by video.liquid template representing only this video
views The number of times the video has been viewed for this order.
expires_at The date that access to the video expires. Try {{ video.expires_at | date: '%Y-%m-%d %H:%M:%S' }}
collection The collection that the video belongs to

Collection

An object representing a collection

id The unique id of the collection
title The collection title
delivery_url A URL for the rendered page by collection.liquid template representing only this collection
files A collection of all files and objects attached to the collection
videos A collection of all videos objects attached to the collection
parent The parent collection this collection belongs to if this is a sub-collection.