Develop > Controller layer > Application developer > Order Management subsystem > Performance improvements for large shopping cart > Enable and disabling large shopping cart performance enhancements
Enable and disabling the optimized large shopping cart order commands
To improve the performance of large shopping carts, you 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" />
- Propagate the changes to the WebSphere Commerce configuration file.
- Restart the WCS instance.
- 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" />
- Propagate the changes to the WebSphere Commerce configuration file.
- Restart the WCS instance.
Related concepts
Performance improvements for large shopping cart
Related tasks
Enable and disabling large shopping cart performance enhancements