Click or drag to resize
DiscountCouponInfoProviderValidateDiscountCouponInternal Method
Returns True if discount coupon is valid and can be applied to the specified shopping cart item, otherwise returns False.

Namespace: CMS.Ecommerce
Assembly: CMS.Ecommerce (in CMS.Ecommerce.dll) Version: 8.2.23
Syntax
C#
protected virtual bool ValidateDiscountCouponInternal(
	ShoppingCartItemInfo item,
	DiscountCouponInfo discount
)

Parameters

item
Type: CMS.EcommerceShoppingCartItemInfo
Shopping cart item to which the discount coupon should be applied
discount
Type: CMS.EcommerceDiscountCouponInfo
Discount coupon data

Return Value

Type: Boolean
See Also