Click or drag to resize
ShoppingCartInfoProviderSetOrder Method (ShoppingCartInfo)
Creates or updates order based on the data of the specified shopping cart.

Namespace: CMS.Ecommerce
Assembly: CMS.Ecommerce (in CMS.Ecommerce.dll) Version: 13.0.131
Syntax
C#
public static void SetOrder(
	ShoppingCartInfo cart
)

Parameters

cart
Type: CMS.EcommerceShoppingCartInfo
Shopping cart data
Exceptions
ExceptionCondition
InvalidOperationException Thrown when ShoppingCartCustomerID and/or ShoppingCartCurrencyID not set, or 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