Click or drag to resize
ShoppingCartInfoProviderCalculateOrderDiscountInternal Method
Calculates discount which should be applied to the total items price. If discount is higher than total items price, total items price is returned.

Namespace: CMS.Ecommerce
Assembly: CMS.Ecommerce (in CMS.Ecommerce.dll) Version: 9.0.0
Syntax
C#
protected virtual double CalculateOrderDiscountInternal(
	ShoppingCartInfo cart
)

Parameters

cart
Type: CMS.EcommerceShoppingCartInfo
Shopping cart

Return Value

Type: Double
See Also