Click or drag to resize
MultiBuyDiscountsEvaluatorCanBeDiscounted Method
Checks if given item can be discounted using given discount.

Namespace: CMS.Ecommerce
Assembly: CMS.Ecommerce (in CMS.Ecommerce.dll) Version: 12.0.0
Syntax
C#
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: Boolean
Returns true if discount is applicable on given item.
See Also