Enabling the Cancel button for orders on the Order Details page

If you want to allow shoppers to cancel orders, you can enable the Cancel button on the Order Details page for the Aurora starter store. The enablement steps involve installing interim fixes that contain code that is required for the Cancel button to function and defining modification rules for order statuses in Sterling Order Management.

Before you begin

  1. Integrate your store with Sterling Order Management Version 9.4 or later.

About this task

The Cancel button is displayed to shoppers on the Order Details page when the order has certain statuses. In Sterling Order Management, you can define modification rules that specify which order statuses allow the Cancel modification type. WebSphere Commerce queries Sterling Order Management to determine whether to display the Cancel button on the page based on the modification rules.

Procedure

In the Applications Manager for Sterling Order Management, define modification rules for the order statuses for which you want to allow the order to be canceled.

Specifically, each status must be set to allow the Cancel modification type at both the line level and the order level.

In the following example screen captures from the Applications Manager, the order statuses with check marks are set to allow the Cancel modification type. As a result, when an order has one of these statuses, the Cancel button is displayed to shoppers on the Order Details page in the Aurora starter store. Your company might choose to allow the Cancel modification type for different order statuses.

By default, the Cancel modification type is allowed for the Draft Order Created, Draft Order Reserved, Created, and Reserved statuses. You must manually allow the Cancel modification type for extra statuses, such as the Released status.

Figure 1. Cancel modification type allowed for certain order statuses at the line level

Modification rules - line
Figure 2. Cancel modification type allowed for certain order statuses at the order level

Modification rules - order

For more information about modification rules in Sterling Order Management, see Defining modification rules.

Follow these instructions to set up the modifications rules in Sterling Order Management:
  1. Open the Application Console for Sterling Order Management.
  2. From the Configuration menu, click Launch Applications Manager.
  3. From the Applications menu, click Distributed Order Management. Select your organization, if needed.
  4. From the tree in the left pane, expand Document Specific > Sales Order > Fulfillment > Order Modification.
  5. Double-click Order Modification Groups.
  6. In the right pane, open the modification group.
  7. In the Modification Rules tab, in the Group By list, select Modification Type.
  8. Expand the Order Fulfillment > Cancel > Line node.
  9. Ensure that the order statuses for which your store allows shoppers to cancel an order show a check mark. To set extra statuses to allow the Cancel modification type, right-click the status and then click Allow Modification.
  10. Expand the Order node and repeat step 1.i.
  11. Close the Applications Manager windows.