MultiBuyDiscountsEvaluatorCanBeDiscounted Method |
Checks if given item can be discounted using given discount.
Namespace: CMS.EcommerceAssembly: CMS.Ecommerce (in CMS.Ecommerce.dll) Version: 13.0.131
Syntax protected virtual bool CanBeDiscounted(
MultiBuyItem item,
IMultiBuyDiscount discount
)
Parameters
- item
- Type: CMS.EcommerceMultiBuyItem
Item to be checked. - discount
- Type: CMS.EcommerceIMultiBuyDiscount
Discount to be checked.
Return Value
Type:
BooleanReturns true if discount is applicable on given item.
See Also