Click or drag to resize
ShoppingCartItemInfoProviderUpdateShoppingCartItemUnits Method
Updates unit count of shopping cart item, related product option unit count or bundle item count is updated as well.

Namespace: CMS.Ecommerce
Assembly: CMS.Ecommerce (in CMS.Ecommerce.dll) Version: 10.0.0
Syntax
C#
public static void UpdateShoppingCartItemUnits(
	ShoppingCartItemInfo item,
	int newCount
)

Parameters

item
Type: CMS.EcommerceShoppingCartItemInfo
Shopping cart item to updates unit count for.
newCount
Type: SystemInt32
New number of cart item units.
See Also