IMPORTANT: This version of Sitefinity CMS is out of support and the respective product documentation is no longer maintained and can be outdated. Use the version selector to view a supported product version.
Get an instance of the manager. Get an instance of the OrdersManager object.
Get the order. To get the order, you must either call the GetCartOrder method and pass the ID of the order as an argument, or call the GetCartOrders method and filter the collection by the desired criteria (e.g. by order number).
Here are examples of querying a single order by ID and by order number:
To query orders by customer, you must perform the following:
Here is a code example:
To query all orders, you must perform the following:
Back To Top
To submit feedback, please update your cookie settings and allow the usage of Functional cookies.
Your feedback about this content is important