Click or drag to resize
CartDiscountsFilterApplyMinOrderAmountFilter Method
Filters given discounts and leaves only those which discount minimum order amount is less than total item price with catalog and order discounts applied.

Namespace: CMS.Ecommerce
Assembly: CMS.Ecommerce (in CMS.Ecommerce.dll) Version: 10.0.0
Syntax
C#
public virtual IEnumerable<IConditionalDiscount> ApplyMinOrderAmountFilter(
	IEnumerable<IConditionalDiscount> discounts,
	double orderPrice
)

Parameters

discounts
Type: System.Collections.GenericIEnumerableIConditionalDiscount
Conditional discounts to be filtered.
orderPrice
Type: SystemDouble
Total order price.

Return Value

Type: IEnumerableIConditionalDiscount
See Also