Click or drag to resize
ShoppingCartItemInfoProviderGetSKUShoppingCartUnits Method
Returns sum of all units of the specified SKU in the shopping cart to which the shopping cart item belongs.

Namespace: CMS.Ecommerce
Assembly: CMS.Ecommerce (in CMS.Ecommerce.dll) Version: 12.0.0
Syntax
C#
public static int GetSKUShoppingCartUnits(
	ShoppingCartItemInfo item
)

Parameters

item
Type: CMS.EcommerceShoppingCartItemInfo
Shopping cart item.

Return Value

Type: Int32
See Also