Checks if given item can be used to fulfill discounts conditions.
Namespace: CMS.EcommerceAssembly: CMS.Ecommerce (in CMS.Ecommerce.dll) Version: 8.0.0.0 (8.1.5347.20411)
Parameters
- item
- Type: CMS.Ecommerce ShoppingCartItemInfo
Item to be checked.
- discount
- Type: CMS.Ecommerce IMultiBuyDiscount
Discount to be checked.
- alreadyBasedOnItems
- Type: System.Collections.Generic IDictionary ShoppingCartItemInfo, Int32
Units with number of units already found as base for given discount.
Return Value
Type: BooleanReturns true if item covers (partially) discounts condition.
See Also