Enabling interim fix JR54936

Interim fix JR54936 fixes an issue where shoppers might encounter "Order is invalid" errors when trying to update the shopping cart that has items that are out of stock.

To enable the behavior of automatically removing out of stock order items, complete the following procedure.

Before you begin

Install the interim fix.
WebSphere Commerce Version 7.0.0.9Note: If you are on Fix Pack 9, this fix is included in the cumulative interim fix JR59483.fp. It is recommended that you install the cumulative interim fix instead of the individual fix.

Procedure

  1. Open the WC_eardir\xml\config\com.ibm.commerce.order-ext\wc-admin-component.xml file.
    Note: If the path does not exist, complete the following substeps to create a custom path and configuration file.
    1. Create the com.ibm.commerce.order-ext directory to resemble the following path WC_eardir\xml\config\com.ibm.commerce.order-ext.
    2. Go to the default inventory component configuration file at the following path:
      WC_eardir\xml\config\com.ibm.commerce.order
    3. Copy the wc-admin-component.xml file to the new WC_eardir\xml\config\com.ibm.commerce.order-ext\ folder.
    4. Open the copied wc-admin-component.xml in an editor. This copy becomes the customized version of the wc-admin-component.xml file.
  2. Inside the <_config:extendedconfiguration> code, add the following code sample:
    <_config:configgrouping name="RemoveOutOfStockOrderItems">            
         <_config:property name="enabled" value="true"/>
    </_config:configgrouping>
  3. WebSphere Commerce Developer To update the changes in a development environment, start, or restart the WebSphere Commerce server.
  4. Export and deploy the changes to your runtime environment. For more information, see Deploying J2EE assets for a single file.