Click or drag to resize
ShoppingCartInfoProviderAutoAddItemsToShoppingCart Method
Evaluates active discounts and auto add items which can be for free to the shopping cart.

Namespace: CMS.Ecommerce
Assembly: CMS.Ecommerce (in CMS.Ecommerce.dll) Version: 10.0.0
Syntax
C#
public static void AutoAddItemsToShoppingCart(
	ShoppingCartInfo cart
)

Parameters

cart
Type: CMS.EcommerceShoppingCartInfo
Shopping cart where items will be automatically added in case they could be given for free.
See Also