order
An order.
Properties
The attributes on the order.
If there are no attributes on the order, then null is returned.
The billing address of the order.
The reason that the order was cancelled.
Returns true if the order was cancelled. Returns false if not.
A timestamp for when the order was cancelled.
A timestamp for when the order was created.
The customer that placed the order.
The URL for the customer to view the order in their account.
The email that's associated with the order.
If no email is associated with the order, then null is returned.
The order's financial status.
The localized version of the financial status of the order.
Use this property to output the financial status on the storefront.
The fulfillment status of the order.
The localized version of the fulfillment status of the order.
The ID of the order.
The number of items in the order.
The line items in the order.
The sum of the prices of all of the line items in the order in the currency's subunit, after any line item discounts have been applied. The value is output in the customer's local (presentment) currency.
Use money_with_currency helper to output a formatted amount.
The name of the order.
The note on the order.
If there's no note on the order, then null is returned.
The integer string representation of the order name.
The URL for the order status page for the order.
The phone number associated with the order.
The shipping address of the order.
The shipping price of the order in the currency's subunit. The value is output in the customer's local (presentment) currency.
Use money_with_currency helper to output a formatted amount.
The tags on the order. The tags are returned in alphabetical order.
The total amount of taxes applied to the order in the currency's subunit. The value is output in the customer's local (presentment) currency.
Use money_with_currency helper to output a formatted amount.
The total amount of all discounts applied to the order in the currency's subunit. The value is output in the customer's local (presentment) currency.
Use money_with_currency helper to output a formatted amount.
The net amount of the order in the currency's subunit. The value is output in the customer's local (presentment) currency.
Use money_with_currency helper to output a formatted amount.
The total price of the order in the currency's subunit.
The total price is calculated before refunds are applied. Use order.total_net_amount to output the total minus any refunds.
The value is output in the customer's local (presentment) currency.
Use money_with_currency helper to output a formatted amount.