Click or drag to resize
ShoppingCartInfoProviderAddShoppingCartItem Method
Adds new initialized item to the shopping cart items collection.

Namespace: CMS.Ecommerce
Assembly: CMS.Ecommerce (in CMS.Ecommerce.dll) Version: 8.2.23
Syntax
C#
public static void AddShoppingCartItem(
	ShoppingCartInfo cart,
	ShoppingCartItemInfo item
)

Parameters

cart
Type: CMS.EcommerceShoppingCartInfo
Shopping cart
item
Type: CMS.EcommerceShoppingCartItemInfo
Shopping cart item
See Also