Click or drag to resize
ShoppingCartInfoProviderRemoveShoppingCartItem Method (ShoppingCartInfo, Int32)
Removes shopping cart item and its product options from the specified shopping cart object.

Namespace: CMS.Ecommerce
Assembly: CMS.Ecommerce (in CMS.Ecommerce.dll) Version: 12.0.0
Syntax
C#
public static void RemoveShoppingCartItem(
	ShoppingCartInfo cart,
	int cartItemId
)

Parameters

cart
Type: CMS.EcommerceShoppingCartInfo
Shopping cart
cartItemId
Type: SystemInt32
Shopping cart item ID
See Also