This page was printed on Jul 20, 2019. For the current version, visit https://help.shopify.com/en/themes/development/templates/customers-order.
customers/order.liquid template displays the details of a visitor's past order.
The order variable
order.liquid template, you have access to all the attributes of the order variable. Use the
order variable to output information from the order.
For example, to output the Billing Address, you can access the attributes of the order variable's
billing_address attribute, which contains the attributes of the address variable.
Shown below is another example, this time outputting the Shipping Address.
To output what products were purchased in the order, loop through the
order variable's line_item array.