Click or drag to resize
MultiBuyDiscountsEvaluatorFindItemsToBeDiscounted Method
Finds items to be discounted with given discount based on given items. Returns true when at least one item was found.

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

Parameters

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

Return Value

Type: Boolean
See Also