Click or drag to resize
ShoppingCartItemInfoProviderCalculateUnitTotalDiscount Method
Calculates the sum of all discounts which are applied to one shopping cart item unit altogether. Result is in site main currency.

Namespace: CMS.Ecommerce
Assembly: CMS.Ecommerce (in CMS.Ecommerce.dll) Version: 8.2.23
Syntax
C#
public static double CalculateUnitTotalDiscount(
	ShoppingCartItemInfo item
)

Parameters

item
Type: CMS.EcommerceShoppingCartItemInfo
Shopping cart item

Return Value

Type: Double
See Also