order
object contains information about completed orders and is available on order confirmation pages (thank you pages). It provides access to all order details including items, totals, shipping information, and customer data.
Usage: Available on order confirmation/thank you pages - use to display order details and confirmation information
Basic Order Information
Access the core order details for confirmation pages:Available Properties
Core Order Properties
Property | Type | Description |
---|---|---|
order.id | String | Order number |
order.value | String | Order total amount incl. tax (formatted) |
order.value_excl_tax | String | Order total amount excl. tax (formatted) |
order.tax_amount | String | Tax amount on order (formatted) |
order.currency | String | Currency used for the order |
order.shipping_amount | String | Shipping cost (formatted) |
order.shipping_name | String | Shipping method chosen during order |
order.payment_method | String | Payment method used for the order |
Customer Properties
Property | Type | Description |
---|---|---|
order.customer.email | String | Customer email address |
order.customer.firstname | String | Customer first name |
order.customer.lastname | String | Customer last name |
order.customer.ship_address | String | Customer address Line 1 |
order.customer.ship_address2 | String | Customer address Line 2 |
order.customer.ship_zipcode | String | Customer postal code |
order.customer.ship_city | String | Customer city |
order.customer.ship_country | String | Customer country |
order.customer.ship_phone | String | Customer phone number |
Order Items
Display the products that were purchased:Order Item Properties
When looping throughorder.items
, each item has these properties:
Property | Type | Description |
---|---|---|
product_id | String | Product ID |
title | String | Product title |
sku | String | Product/variant article number |
variant_id | String | Variant ID |
variant | String | Variant designation |
price | String | Product unit price (formatted) |
price_raw | String | Product unit price without formatting |
qty | Number | Quantity ordered of the product |
Shipping Information
Display shipping address using the available customer properties:Payment Information
Display payment method information:Customer Support
Provide support information and next steps:Complete Order Confirmation Example
Best Practices
Clear Information
Display all essential order information prominently and clearly
Customer Support
Provide easy access to customer service with order number context
Email Integration
Include order details that match the confirmation email format
Mobile Friendly
Ensure order confirmation works well on all devices