ShoppingCartInfoProviderSetShoppingCartItem Method |
Adds the product (and its product options) specified in the
itemParams to the specified
cart object.
If such product configuration already exists in the shopping cart,
only the
CartItemUnits property is increased by
Quantity.
The added/updated shopping cart item is returned.
Namespace: CMS.EcommerceAssembly: CMS.Ecommerce (in CMS.Ecommerce.dll) Version: 13.0.131
Syntax Exceptions Exception | Condition |
---|
ArgumentNullException | Thrown when cart or itemParams are null. |
ArgumentOutOfRangeException | Thrown when itemParams specify a non-positive SKUID. |
See Also