order

You can access the order object in a theme's Liquid templates with customer.orders.

The order object has the following attributes:

order.customer_url

Returns the URL of the customer's account page.

order.name

Returns the name of the order in the format set in the Standards and formats section of the General settings of your EasyStore control panel.

order.created_at

Returns the timestamp of when an order was created.

order.financial_status_label

Returns the translated output of an order's financial status.

order.fulfillment_status_label

Returns the translated output of an order's fulfillment status.

order.currency

Returns the currency of an order.

order.total_price

Returns the total price of an order.

order.is_cancelled

Returns true if an order is canceled, or false if it is not.

order.order_number

Returns the order's number.

order.ref_number

Returns the order's reference number.

order.status

Returns the status of the order.

order.financial_status

Returns the financial status of the order.

order.fulfillment_status

Returns the fulfillment status of the order.

order.is_paid

Returns true if the order has been paid, or false if it has not.

order.line_items

Returns an array of the order's line items. More info ›

order.shipping_address

Returns the shipping address of the order. More info ›

order.billing_address

Returns the billing address of the order. More info ›

order.shipping_methods

Returns an array of the shipping methods used for the order.

order.tax_lines

Returns an array of the tax lines applied to the order.

order.discounts

Returns an array of the discounts applied to the order.

order.subtotal

Returns the subtotal of the order before shipping, taxes, and discounts. Use one of the money filters to return the value in a monetary format.

order.total_paid_amount

Returns the total amount that has been paid for the order.

order.total_unpaid_amount

Returns the total amount that remains unpaid for the order.

order.amount_due

Returns the amount still due on the order.

order.point_earned

Returns the points earned from the order.

order.credit_earned

Returns the store credit earned from the order.

order.pickup_location

Returns the pickup location of the order, if applicable.

order.is_pickup_from_store_location

Returns true if the order is picked up from a store location, or false if it is not.

order.token

Returns the unique token of the order.

order.cart_token

Returns the token of the cart the order was created from.

order.type

Returns the type of the order.

order.processed_at

Returns the timestamp of when the order was processed.

icon-accounticon-add-newicon-add-storeicon-appicon-appleicon-archiveicon-arrowdownicon-ascicon-bookicon-cancelicon-cart-addonicon-checkouticon-cherryicon-collectionicon-comfirmicon-confirmicon-couponicon-creditsicon-currencyicon-dashboardicon-discounticon-disintegrateicon-domainicon-dscicon-duplicateicon-editicon-emailicon-exclamation-triangleicon-exporticon-eyeicon-eye-slashicon-fullscreenicon-fullscreen-closeicon-generalicon-gifticon-gridicon-hddicon-helpicon-importicon-infoicon-integrationicon-invoiceicon-likeicon-listicon-locationicon-logouticon-new-tabicon-not-secureicon-optionicon-ordericon-outline-arrowdownicon-pageicon-paymenticon-plusicon-posicon-pricingicon-printericon-producticon-product-sumicon-product-sum-xicon-redirecticon-reporticon-reseticon-searchicon-secureicon-settingicon-shippingicon-staricon-storeicon-switch-storeicon-tagicon-taxesicon-templateicon-themeicon-tickicon-trashicon-unarchiveicon-uploadicon-user-tagicon-usersicon-weighticon-wholesale