DiscountInfoProvider LogDiscountUseOnceInternal Method Kentico 8.0 API Reference
Logs the use of given discount in given cart for specified product if present.

Namespace: CMS.Ecommerce
Assembly: CMS.Ecommerce (in CMS.Ecommerce.dll) Version: 8.0.0.0 (8.0.5239.26125)

Parameters

discount
Type: CMS.Ecommerce DiscountInfo
Used discount.
cart
Type: CMS.Ecommerce ShoppingCartInfo
Shopping cart where the discount is used.
item
Type: CMS.Ecommerce ShoppingCartItemInfo
Cart item on which the discount was applied. Use null if discount is not applied to any particular item.
See Also