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

Namespace: CMS.Ecommerce
Assembly: CMS.Ecommerce (in CMS.Ecommerce.dll) Version: 8.2.23
Syntax
C#
protected virtual bool FindItemsToBaseDiscountOn(
	IMultiBuyDiscount discount,
	IDictionary<ShoppingCartItemInfo, int> itemsToBaseDiscountOn
)

Parameters

discount
Type: CMS.EcommerceIMultiBuyDiscount
Discount to find items for.
itemsToBaseDiscountOn
Type: System.Collections.GenericIDictionaryShoppingCartItemInfo, Int32
Empty dictionary. Found items are placed here with their counts.

Return Value

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