MultiBuyDiscountsEvaluator FindItemsToBaseDiscountOn Method Kentico 8.1 API Reference
Finds items satisfying given discounts conditions.

Namespace: CMS.Ecommerce
Assembly: CMS.Ecommerce (in CMS.Ecommerce.dll) Version: 8.0.0.0 (8.1.5347.20411)

Parameters

discount
Type: CMS.Ecommerce IMultiBuyDiscount
Discount to find items for.
itemsToBaseDiscountOn
Type: OnlineSystem.Collections.Generic IDictionary ShoppingCartItemInfo, OnlineInt32 
Empty dictionary. Found items are placed here with their counts.

Return Value

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