Returns True if discount 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.1.5347.20411)
Parameters
- item
- Type: CMS.Ecommerce ShoppingCartItemInfo
Shopping cart item to which the discount should be applied
- discount
- Type: CMS.Ecommerce DiscountInfo
Discount data
Return Value
Type:
See Also