Enabling/disabling the optimization of large shopping cart order commands
How to Enable and disable the optimized large shopping cart order commands
This will help you to improving the large shopping carts, you can optimize for the following commands commands
- OrderItemAdd
- OrderItemUpdate
- OrderItemDisplay
- OrderCalculate commands.
Steps
To enable the optimized code path
1. Edit the WebSphere Commerce configuration file (wc-server.xml).
2. Add the following element in the <InstanceProperties> element:
<OrderCommandOptimization com.ibm.commerce.orderitems.commands.OrderItemBaseCmdImpl="true"/>
3. Propagate the changes to the Web Sphere Commerce configuration file (wc-server.xml).
4. Restart the WebSphere Commerce instance.
To disable the optimized code path
1. Edit the WebSphere Commerce configuration file.
2. Add the following element in the <InstanceProperties> element
<OrderCommandOptimization com.ibm.commerce.orderitems.commands.OrderItemBaseCmdImpl="false"/>
3. Propagate the changes to the Web Sphere Commerce configuration file (wc-server.xml).
4. Restart the WebSphere Commerce instance.
Reference:
https://www.ibm.com/support/knowledgecenter/en/SSZLC2_8.0.0/com.ibm.commerce.admin.doc/tasks/tosedshpcartordcmd_dup.htm
Updated HCL infocenter Link:
https://help.hcltechsw.com/commerce/8.0.0/developer/tasks/tosedshpcartordcmd.html
https://help.hcltechsw.com/commerce/8.0.0/developer/tasks/tosedshpcartordcmd.html