Represents an order.
In order related email and SMS templates, an order
variable corresponding to the order that triggered the email/SMS is automatically defined.
In fulfillment templates, an order
variable is always defined and corresponds to the order being fulfilled.
In the CMS, you can access current user's orders via user.orders
.
When used in paginations can be filtered with the where filter by:
id
code
status
and sorted with the sort filter by:
created_at
Returns the unique ID of the order.
Returns the order code
Returns the one-letter code that represents the status of the order.
Possible statuses are:
P
: PendingC
: ConfirmedF
: Payment FailedD
: DownloadedM
: ManufacturedS
: ShippedX
: CancelledE
: ErrorR
: Refunded