Click or drag to resize
ShoppingCartItemInfoProviderGetSKUOrderUnits Method
Returns sum of all units of the specified SKU in the order from which the shopping cart item is loaded.

Namespace: CMS.Ecommerce
Assembly: CMS.Ecommerce (in CMS.Ecommerce.dll) Version: 11.0.0
Syntax
C#
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: Int32
See Also