Skip to Content

OrderDrop

The order object represents an order in a print template such as an invoice, packing list, or receipt. It provides access to order details, line items, shipping information, and totals.

{%- comment -%} Render order summary in a print template {%- endcomment -%} <h1>Order #{{ order.order_number }}</h1> <p>Date: {{ order.created_at | date: "%Y-%m-%d" }}</p> {% for line in order.items %} <tr> <td>{{ line.title }}</td> <td>{{ line.quantity }}</td> <td>{{ line.line_price | money }}</td> </tr> {% endfor %} <p>Total: {{ order.total_price | money_with_currency }}</p>

id

Returns the order id.

order_number

Returns the order number.

reference_number

Returns the order reference number.

is_cancelled

Returns true if this order was cancelled.

created_at

Date when this order was created.

confirmed_at

Date when this order was confirmed.

fulfilled_at

Date when this order was fulfilled.

customer

Customer linked to this order if any.

discounts

Order discount lines

tags

Order tags.

financial_status

Returns paid if order is paid, otherwise not_paid.

subtotal_price

Returns the subtotal.

total_price

Returns the total.

total_net_price

Returns the net total.

total_tax

Returns the total tax.

tax_lines

Returns the tax lines.

customer_note

Returns the customer note.

is_fulfilled

Returns true if order is fulfilled.

is_shipped

Returns true if order is shipped.

order_status

Returns the order status.

payment_methods

Returns the payment methods for this order.

payment_fee

Returns the total payment fee.

shipping_methods

Returns the shipping methods for this order.

shipping_price

Returns the total shipping costs.

drop_point

Returns the customer selected drop point. This is not necessarily the same where the order was shipped to.

items

Returns the order line items.

physical_items

Returns physical (non-digital, non-bundle) order line items.

shipping_address

Returns the shipping address for this order.

billing_address

Returns the billing address for this order.

shipments

Returns the shipments for this order.

returns

Returns the returns for this order.

metafields

Nested metafields by namespace and key, e.g. product.metafields.custom.vip.