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: 13.0.131
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