Click or drag to resize
ShoppingCartItemInfoProviderCalculateUnitTotalDiscountInternal 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: 9.0.0
Syntax
C#
protected virtual double CalculateUnitTotalDiscountInternal(
	ShoppingCartItemInfo item
)

Parameters

item
Type: CMS.EcommerceShoppingCartItemInfo
Shopping cart item

Return Value

Type: Double
See Also