Click or drag to resize
ShoppingCartInfoProviderGetTotalUnits Method
Returns sum of all shopping cart items' units, bundle items and product options are not included.

Namespace: CMS.Ecommerce
Assembly: CMS.Ecommerce (in CMS.Ecommerce.dll) Version: 11.0.0
Syntax
C#
public static int GetTotalUnits(
	ShoppingCartInfo cart
)

Parameters

cart
Type: CMS.EcommerceShoppingCartInfo
Shopping cart data

Return Value

Type: Int32
See Also