Previous in Contents Next in Contents

OrderForm.ClearItems Method

Empties the items collection on the OrderForm.

Syntax

OrderForm.ClearItems()

Parameters

None.

Remarks

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.

Related Topics


© 1997-2000 Microsoft Corporation. All rights reserved.