Adds product (and its product options) to the specified 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.EcommerceAssembly: CMS.Ecommerce (in CMS.Ecommerce.dll) Version: 8.0.0.0 (8.1.5347.20411)
Parameters
- cart
- Type: CMS.Ecommerce ShoppingCartInfo
Shopping cart
- itemParams
- Type: CMS.Ecommerce ShoppingCartItemParameters
Parameters of the shopping cart item which should be used to perform the adding or updating.
Return Value
Type: ShoppingCartItemInfoSee Also