Loading...
Area: Episerver Commerce
Applies to versions: Commerce 12.1 and higher

Order Management screen

Recommendations [hide]

A new Order Management screen (CSR UI) is being developed to manage orders as a replacement for Commerce Manager. To access the Order Management screen, click Order Management from the Commerce top menu.

    Order Management menu item

    Extending the search result display

    When adding a new line item to a cart or an order, a user finds the correct one by searching for it. If a product has many variants, Episerver helps the user select the correct one by displaying variant-specific information (e.g., size or color) for each search hit. However, those properties differ from site to site. Episerver does a "best guess" by inspecting content types.

    If you want more control over what is shown, use the EPiServer.Commerce.Catalog.IEntryInformation interface. By implementing IEntryInformation, and replacing our default implementation, you can customize which properties are displayed. The interface has just one method, which returns a dictionary. That dictionary should contain the names of properties to show, as well as a string representation of their value, suitable to be shown to the user.

    Fix for "Customer is undefined" error (New in Commerce 13.9.0)

    If a customer service representative (CSR)  opens the Order Management screen in two separate tabs, then logs out of the first tab and opens any cart or order on the second tab, the following error appears.

    com10123.png

    To replace this error message with a user-friendly one ("Your session has expired"), add the following code to the Global.asax.cs file:

    protected void Application_EndRequest()
    {
        if (Context.Response.StatusCode == 302
            && (Context.User == null || !Context.User.Identity.IsAuthenticated)
            && Context.Request.Path.ToString().ToLower().Contains("/api/"))
        {
            Context.Response.StatusCode = 401;
        }
    }
    Do you find this information helpful? Please log in to provide feedback.

    Last updated: Jul 07, 2020

    Recommendations [hide]