DiscountInfoProviderLogDiscountUseOnceInternal Method (DiscountInfo, ShoppingCartInfo, ShoppingCartItemInfo) |
Note: This API is now obsolete.
Logs the use of given discount in given cart for specified product if present.
Namespace: CMS.EcommerceAssembly: CMS.Ecommerce (in CMS.Ecommerce.dll) Version: 8.2.23
Syntax [ObsoleteAttribute("Use LogDiscountUseOnceInternal(DiscountInfo discount, string couponCode = null) instead.")]
protected virtual void LogDiscountUseOnceInternal(
DiscountInfo discount,
ShoppingCartInfo cart,
ShoppingCartItemInfo item
)
Parameters
- discount
- Type: CMS.EcommerceDiscountInfo
Used discount. - 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