Enable and disabling the optimized large shopping cart order commands
To improve the performance of large shopping carts, we can optimize the OrderItemAdd, OrderItemUpdate, OrderItemDisplay, and OrderCalculate commands.
Procedure
- To enable the optimized code path:
- Edit the WebSphere Commerce configuration file.
- Add the following element in the <InstanceProperties> element:
<OrderCommandOptimization com.ibm.commerce.orderitems.commands.OrderItemBaseCmdImpl="true" />
To disable the optimized code path:
- Edit the WebSphere Commerce configuration file.
- Update the OrderCommandOptimization element for the OrderItemBaseCmdImpl such that its value is false:
<OrderCommandOptimization com.ibm.commerce.orderitems.commands.OrderItemBaseCmdImpl="false" />