Empties the items collection on the OrderForm.
OrderForm.ClearItems()
None.
A site uses the ClearItems method to respond to a customer’s having opted to cancel a purchase. This method affects only the information in the items collection. Other OrderForm information, such as _oadjust_subtotal and _total_total, is modified only if you run the order processing pipeline (OPP) on this OrderForm.
To empty the entire contents of the OrderForm, call the ClearOrderForm method.