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:
idcodestatusand sorted with the sort filter by:
created_atReturns 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: PendingW: DraftC: ConfirmedF: Payment FailedD: DownloadedM: ManufacturedS: ShippedX: CancelledE: ErrorR: Refunded