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: 10.0.0
Syntaxpublic 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:
Int32
See Also