ShoppingCartItemInfoProviderGetSKUOrderUnits Method |
Returns sum of all units of the specified SKU in the order from which the shopping cart item is loaded.
Namespace: CMS.EcommerceAssembly: CMS.Ecommerce (in CMS.Ecommerce.dll) Version: 8.2.23
Syntax public static int GetSKUOrderUnits(
ShoppingCartItemInfo item
)
Parameters
- item
- Type: CMS.EcommerceShoppingCartItemInfo
Shopping cart item which is loaded from the order (has order data).
Return Value
Type:
Int32See Also