Click or drag to resize
IConditionalDiscountLogUseOnce Method

Note: This API is now obsolete.

Informs this discount that it was applied for given cart in context of specified product.

Namespace: CMS.Ecommerce
Assembly: CMS.Ecommerce (in CMS.Ecommerce.dll) Version: 8.2.23
Syntax
C#
[ObsoleteAttribute("Use ICanLogUsage.LogUseOnce(string couponCode = null) instead.")]
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.
See Also