IShoppingServiceAddItemToCart Method (ShoppingCartItemParameters) |
Adds an item to the current shopping cart and logs the activity. Saves the shopping cart if it has not been saved yet.
If an item in such configuration is already present in the cart, its quantity is increased by
Quantity.
Saves all product options and bundle items after adding and evaluates the cart.
Namespace: CMS.EcommerceAssembly: CMS.Ecommerce (in CMS.Ecommerce.dll) Version: 12.0.0
Syntax Exceptions Remarks
The method does nothing when
Quantity is less than 1 and returns null.
See Also