Click or drag to resize
ShoppingCartInfoSetShoppingCartItem Method
Adds product (and its product options) to the shopping cart object. If such product configuration already exists in the shopping cart, only its quantity is updated. Added/updated shopping cart item is returned.

Namespace: CMS.Ecommerce
Assembly: CMS.Ecommerce (in CMS.Ecommerce.dll) Version: 8.2.23
Syntax
C#
public ShoppingCartItemInfo SetShoppingCartItem(
	ShoppingCartItemParameters itemParams
)

Parameters

itemParams
Type: CMS.EcommerceShoppingCartItemParameters
Parameters of the shopping cart item which should be used to perform the adding or updating.

Return Value

Type: ShoppingCartItemInfo
See Also