DiscountInfo LogUseOnce Method Kentico 8.0 API Reference
Logs the use of this discount. Decrements used coupon code use count.

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

Parameters

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