DiscountInfo LogUseOnce Method (ShoppingCartInfo, ShoppingCartItemInfo)Kentico 8.1 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.1.5347.20411)

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