Click or drag to resize
IShoppingServiceRemoveItemFromCart 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#
void RemoveItemFromCart(
	int itemId
)

Parameters

itemId
Type: SystemInt32
ID of the item to be removed.
Remarks
This method does nothing when item with the specified itemId is not in the cart.
See Also