Click or drag to resize
ShoppingServiceRemoveItemFromCart Method (Int32)
Removes item with specified itemId 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: 12.0.0
Syntax
C#
public virtual void RemoveItemFromCart(
	int itemId
)

Parameters

itemId
Type: SystemInt32
ID of the item to be removed.

Implements

IShoppingServiceRemoveItemFromCart(Int32)
Remarks
This method does nothing when item with the specified itemId is not in the cart.
See Also