Aurora pages modified for CSR Order Comments

Mod Pack 1 (8.0.1.0) introduced the CSR Order Comments feature, which allows a customer service representative (CSR) to add internal comments to a customer's order. If you published either the Aurora B2C or the Aurora B2B stores after you installed Mod Pack 1, the CSR Order Comments feature is enabled by default. Storefront customization is required to implement this feature if the store is based on a store archive that is lower than Mod Pack 1.

The following details outline the page modifications that were introduced to enable the CSR Order Comments solution. After you install Mod Pack 1, we can use this information as a reference to help implement the solution on your custom store. On the storefront, this feature consists of one new page and one new widget (which supports two widget types):


CSR Order Summary page

The page is accessed by a CSR after they search a customer order from the Customer Service page. Order comments are added or viewed using the OrderComments widget.


OrderComments widget

Order comments are displayed and updated through the Store_archivedir\Widgets_701\com.ibm.commerce.store.widgets.csr.OrderComments widget. It uses the Dojo InlineEditBox widget, allowing a CSR can add new comments to the order.


orderCommentsSlider widget

The OrderComment widget supports the input parameter widgetType. If this parameter is left empty, the widget is displayed on the page as a fixed comment. If the widgetType is set to orderCommentsSlider, an Order Comments button appears on the left border of the page. When this button is clicked, the widget slides open, where order comments can be viewed or added.

By default, the slider widget is present throughout the entire checkout flow. This solution provides customer service representatives with the ability to capture or review customer comments to improve the customer service experience. The following checkout pages, in order, are configured to use the slider widget:

Note: The slider widget is also present in theOrderDetailDisplay.jsp page. This page is accessed by the CSR when they access a customers account, click Order History, and then click the order number. All of the widget actions are defined in the following file:

This JavaScript file must be included in all of the JSP pages where either the OrderComments widget or the orderCommentsSlider widget is used.


Widget behavior

By default, both widget types (OrderComments and orderCommentsSlider) share the following storefront behavior: