Click or drag to resize
MultiBuyDiscountsEvaluatorFindItemsToBaseDiscountOn Method
Finds items satisfying given discounts conditions.

Namespace: CMS.Ecommerce
Assembly: CMS.Ecommerce (in CMS.Ecommerce.dll) Version: 12.0.0
Syntax
C#
protected virtual bool FindItemsToBaseDiscountOn(
	IMultiBuyDiscount discount,
	ICollection<MultiBuyItem> itemsToBaseDiscountOn
)

Parameters

discount
Type: CMS.EcommerceIMultiBuyDiscount
Discount to find items for.
itemsToBaseDiscountOn
Type: System.Collections.GenericICollectionMultiBuyItem
Empty collection of items. Found items are placed here.

Return Value

Type: Boolean
Returns true if found items fully satisfies discount.
See Also