Share via


How to Display Localized Order Status

For the latest version of Commerce Server 2007 Help, see the Microsoft Web site.

The status of an order indicates which stage of processing the order is in. By default, Commerce Server 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 Web application.

To display localized order status

  1. Create a resource for each status value that your Commerce Server 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