SKUInfoProviderUpdateInventoryInternal Method |
Updates products' available items in database according to the products' units of the specified shopping cart.
Namespace: CMS.EcommerceAssembly: CMS.Ecommerce (in CMS.Ecommerce.dll) Version: 13.0.131
Syntax protected virtual void UpdateInventoryInternal(
ShoppingCartInfo cart
)
Parameters
- cart
- Type: CMS.EcommerceShoppingCartInfo
Shopping cart with some products
Exceptions Exception | Condition |
---|
InvalidOperationException | When strict inventory management is enabled and trying to update inventory below zero to an item which doesn't allow so (SKUSellOnlyAvailable is true). |
See Also