Symptom
In some cases, you may want to delete carts based on conditions in one go. Please follow below script to delete carts using Groovy script.
The script can be modified and used for other models as well.
It is not advisable to use this script in your production without data backup. Please have a clear understanding of what you are doing before proceeding, and use at your own risk.
***Image/data in this KBA is from SAP internal systems, sample data, or demo systems. Any resemblance to real data is purely coincidental.***
Read more...
Environment
SAP Commerce Cloud
Product
Keywords
cartModel, modelService.remove, userModel, orderModel , KBA , CEC-SCC-PLA-PL , Platform , How To
About this page
This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP for Me (Login required).Search for additional results
Visit SAP Support Portal's SAP Notes and KBA Search.