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.
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
Install the following interim fixes: JR52714 and JR52715.
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 additional statuses, such as
the Released status.
Follow these
instructions to set up the modifications rules in Sterling Order Management:
Open the Application Console for Sterling Order Management.
From the Configuration menu,
click Launch Applications Manager.
From the Applications menu, click Distributed
Order Management. Select your organization, if required.
From the tree in the left pane, expand Document Specific > Sales Order > Fulfillment > Order Modification.
Double-click Order Modification Groups.
In the right pane, open the modification group.
In the Modification Rules tab, in the Group
By list, select Modification Type.
Expand the Order Fulfillment > Cancel > Line node.
Ensure that the order statuses for which
your store will allow shoppers to cancel an order show a check mark.
To set additional statuses to allow the Cancel modification type,
right-click the status and then click Allow Modification.