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