Aurora pages modified for CSR Order Comments
The following details outline the page modifications that were introduced to enable the CSR Order Comments solution. After you install Mod Pack 1, you can use this information as a reference to help implement the solution on your custom store.
- CSR Order Summary page
- OrderComments widget / orderCommentsSlider widget
CSR Order Summary page
- Store_archivedir\AuroraStorefrontAssetStore\CustomerService\CSROrderSummaryPage.jsp
The page is accessed by a CSR after they search a customer order from the Customer Service page. Order comments are added or viewed by 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.
- OrderItemDisplay.jsp - Shopping Cart page
- OrderShippingBillingDetails.jsp - Shipping and Billing page
- OrderShippingBillingConfirmationPage.jsp - Order Confirmation page
- MultipleShipmentSummary.jsp - Multiple shipment order summary page
- SingleShipmentSummary.jsp - Single shipment order summary page
- Store_archivedir\Widgets_701\com.ibm.commerce.store.widgets.csr.OrderComments\javascript\OrderComments.js
Widget behavior
By default, both widget types (OrderComments and orderCommentsSlider) share the following storefront behavior:- Once an order comment is saved, it cannot be deleted.
- All order comments display time stamps, in addition to the name of the CSR who logged the comment
- Each comment has a 3000 character limit.
- A scroll bar appears if the number of comments increase beyond the page size.
- The 15 most recent comments are displayed in order. You can update this limit by editing the
orderCommentsListSize
variable, which is defined in the Store_archivedir\Widget_701\Common\EnvironmentSetup.jspf file. Look for the following line of code:
Update the<c:set var="orderCommentsListSize" value="15" scope="request"/>
value
to the number of comments you want to display within the widgets.Note: If you modify this setting, the change is applied to all OrderComment and orderCommentsSlider widgets on your storefront.