Interim fix JR52515 supports disabling inventory status checks during order submission.
For example, you might want to disable inventory status checks to test a check out flow.
Before you begin
Install the cumulative interim fix for Fix Pack 9, JR53438.fp.For information about
how to install an interim fix, see
Procedure
-
Go to the following directory
- Store_archivedir/storedir/javascript/CheckoutArea
- Store_archivedir/WebContent/storedir/javascript/CheckoutArea
-
Open the CheckoutHelper.js file.
-
Find the
checkoutOrder:function()
function and add a new
inventoryValidation parameter and set the value to
false.
For
example:
checkoutOrder:function(orderId,userType,addressListForMailNotification,isQuote){
...
params = [];
params["orderId"] = orderId;
params["notifyMerchant"] = 1;
params["inventoryValidation"] = "false";
..
}