Returns True if discount coupon is valid and can be applied to the specified shopping cart item, otherwise returns False.
Namespace: CMS.EcommerceAssembly: CMS.Ecommerce (in CMS.Ecommerce.dll) Version: 8.0.0.0 (8.0.5239.26125)
Parameters
- item
- Type: CMS.Ecommerce ShoppingCartItemInfo
Shopping cart item to which the discount coupon should be applied
- discount
- Type: CMS.Ecommerce DiscountCouponInfo
Discount coupon data
Return Value
Type: BooleanSee Also