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: 13.0.131
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