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

Namespace: CMS.Ecommerce
Assembly: CMS.Ecommerce (in CMS.Ecommerce.dll) Version: 9.0.0
Syntax
C#
protected virtual double CalculateTotalDiscountInternal(
	ShoppingCartItemInfo item
)

Parameters

item
Type: CMS.EcommerceShoppingCartItemInfo
Shopping cart item

Return Value

Type: Double
See Also