Click or drag to resize
DiscountInfoLogUseOnce Method (ShoppingCartInfo, ShoppingCartItemInfo)

Note: This API is now obsolete.

Logs the use of this discount. Decrements used coupon code use count.

Namespace: CMS.Ecommerce
Assembly: CMS.Ecommerce (in CMS.Ecommerce.dll) Version: 8.2.23
Syntax
C#
[ObsoleteAttribute("Use LogUseOnce(string couponCode = null) instead.")]
public void LogUseOnce(
	ShoppingCartInfo cart,
	ShoppingCartItemInfo item
)

Parameters

cart
Type: CMS.EcommerceShoppingCartInfo
Shopping cart where the discount is used.
item
Type: CMS.EcommerceShoppingCartItemInfo
Cart item on which the discount was applied. Use null if discount is not applied to any particular item.

Implements

IConditionalDiscountLogUseOnce(ShoppingCartInfo, ShoppingCartItemInfo)
See Also