Click or drag to resize
ShoppingCartInfoProviderCalculateOrderDiscount Method
Calculates discount which should be applied to the total items price. Returns total sum of order discount value and multibuy discount value in main currency.

Namespace: CMS.Ecommerce
Assembly: CMS.Ecommerce (in CMS.Ecommerce.dll) Version: 9.0.0
Syntax
C#
public static double CalculateOrderDiscount(
	ShoppingCartInfo cart
)

Parameters

cart
Type: CMS.EcommerceShoppingCartInfo
Shopping cart

Return Value

Type: Double
See Also