Click or drag to resize
ShoppingCartInfoProviderAddShoppingCartItemInternal Method (ShoppingCartInfo, ShoppingCartItemParameters)
Adds new item to the shopping cart object and returns its object.

Namespace: CMS.Ecommerce
Assembly: CMS.Ecommerce (in CMS.Ecommerce.dll) Version: 13.0.131
Syntax
C#
protected virtual ShoppingCartItemInfo AddShoppingCartItemInternal(
	ShoppingCartInfo cart,
	ShoppingCartItemParameters itemParams
)

Parameters

cart
Type: CMS.EcommerceShoppingCartInfo
Shopping cart
itemParams
Type: CMS.EcommerceShoppingCartItemParameters
Parameters from which the new shopping cart item is initialized.

Return Value

Type: ShoppingCartItemInfo
See Also