Finds items to be discounted with given discount based on given items. Returns true when at least one item was found.
Namespace: CMS.EcommerceAssembly: CMS.Ecommerce (in CMS.Ecommerce.dll) Version: 8.0.0.0 (8.1.5347.20411)
Parameters
- discount
- Type: CMS.Ecommerce IMultiBuyDiscount
Discount to find suitable items for.
- itemsToBaseDiscountOn
- Type: System.Collections.Generic IDictionary ShoppingCartItemInfo, Int32
Items used to satisfy discount condition.
- itemsToBeDiscounted
- Type: System.Collections.Generic IDictionary ShoppingCartItemInfo, Int32
Items already found to be discounted with this discount.
Return Value
Type: BooleanSee Also