Share via


How to Display Localized Order Status

The status of an order indicates which stage of processing the order is in. By default, Commerce Server Core Systems provides the following status values:

  • NewOrder

  • Submitted

  • InProcess

  • Cancelled

  • Rejected

  • Shipped

To display the status of an order in multiple languages, you must localize the status in your Commerce Server Core Systems Web application.

To display localized order status

  1. Create a resource for each status value that your Commerce Server Core Systems Web application uses, and then localize the status resources.

  2. In the site code that displays the status of an order, follow these steps:

    1. Get the status of the order by using the Status property of the Basket or PurchaseOrder object.

    2. Load the resource that corresponds to the status in the user's locale.

    3. Display the localized status.

See Also

Other Resources

Working with PurchaseOrders

How to Coordinate Updates to Orders

Working with Baskets