ShoppingCartItemInfoProviderUpdateShoppingCartItemUnits Method |
Updates unit count of shopping cart item, related product option unit count or bundle item count is updated as well.
Namespace: CMS.EcommerceAssembly: CMS.Ecommerce (in CMS.Ecommerce.dll) Version: 13.0.131
Syntax 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