Click or drag to resize
ShoppingCartInfoProviderCalculateItemsDiscount Method
Calculates catalog discount which should be applied to the total items price.

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

Parameters

cart
Type: CMS.EcommerceShoppingCartInfo
Shopping cart

Return Value

Type: Double
See Also