Click or drag to resize
IShoppingServiceRemoveItemFromCart Method (ShoppingCartItemInfo)
Removes item specified by shoppingCartItemInfo from the current shopping cart. Also removes all children and bundle items from the cart, logs the activity and evaluates the cart.

Namespace: CMS.Ecommerce
Assembly: CMS.Ecommerce (in CMS.Ecommerce.dll) Version: 13.0.131
Syntax
C#
void RemoveItemFromCart(
	ShoppingCartItemInfo shoppingCartItemInfo
)

Parameters

shoppingCartItemInfo
Type: CMS.EcommerceShoppingCartItemInfo
Item to be removed.
Exceptions
ExceptionCondition
ArgumentNullExceptionThrown when shoppingCartItemInfo is null.
Remarks
This method does nothing when the specified shoppingCartItemInfo is not in the cart.
See Also