ShoppingCartServiceClearItems Method

Removes all cart items from the cart.

Definition

Namespace: Ignition.Commerce.Shopping
Assembly: CatalystFire.Ignition (in CatalystFire.Ignition.dll) Version: 12.0.3454
C#
public void ClearItems()

Remarks

Only items that exist in the cart at the time of calling this method will be cleared. If NetFORUM has been customized, additional business logic may run that changes the cart during the clear process. If any new items are added during that time, they will still be present in the cart when this method completes.

See Also