Click or drag to resize
MultiBuyDiscountsEvaluatorRememberUsedItems Method
Remembers that given items in given number of units were used for given discount.

Namespace: CMS.Ecommerce
Assembly: CMS.Ecommerce (in CMS.Ecommerce.dll) Version: 8.2.23
Syntax
C#
protected virtual void RememberUsedItems(
	IEnumerable<KeyValuePair<ShoppingCartItemInfo, int>> discountingItemsCounts,
	IEnumerable<KeyValuePair<ShoppingCartItemInfo, int>> discountedItemsCounts
)

Parameters

discountingItemsCounts
Type: System.Collections.GenericIEnumerableKeyValuePairShoppingCartItemInfo, Int32
Items with unit counts to mark as already used as base for discount.
discountedItemsCounts
Type: System.Collections.GenericIEnumerableKeyValuePairShoppingCartItemInfo, Int32
Items with unit counts to mark as already discounted.
See Also