Interim fix JR53518 fixes an issue where a shopper cannot change the quantity of an item
in a shopping cart after the item inventory is maxed out.
Before you begin
Ensure that the latest cumulative
interim fix is installed:
For information about
how to install an interim fix, see
Procedure
-
Open the
WC_eardir\xml\config\com.ibm.commerce.inventory-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.
-
Create the com.ibm.commerce.inventory-ext directory to resemble the
following path
WC_eardir\xml\config\com.ibm.commerce.inventory-ext.
-
Go to the default inventory component configuration file at the following path:
WC_eardir\xml\config\com.ibm.commerce.inventory
-
Copy the wc-admin-component.xml file to the new
WC_eardir\xml\config\com.ibm.commerce.inventory-ext\
folder.
-
Open the copied wc-admin-component.xml in an editor. This copy becomes the
customized version of the wc-admin-component.xml file.
-
Inside the
<_config:configgrouping name="InventoryConfigurationCache">
code, add the following code sample:
<_config:configgrouping name="ReverseInventoryBeforeCheckForATP">
<_config:property name="enabled" value="True"/>
</_config:configgrouping>
-
To update the changes in a development environment, start, or restart the WebSphere Commerce
server.
-
Export and deploy the changes to your runtime environment. For more information, see Deploying J2EE assets for a single file.