Click or drag to resize
ShoppingCartInfoProviderCheckShoppingCart Method

Note: This API is now obsolete.

Checks shopping cart items. The following conditions must be met to pass the check: 1)All shopping cart items are enabled 2)Max units in one order are not exceeded 3)There is enough units in the inventory 4) Customer is registered, if there is a membership type product in the cart 5)Product validity is valid, if there is a membership or e-product type product in the cart

Namespace: CMS.Ecommerce
Assembly: CMS.Ecommerce (in CMS.Ecommerce.dll) Version: 12.0.0
Syntax
C#
[ObsoleteAttribute("Use ValidateShoppingCart() instead.")]
public static ShoppingCartCheckResult CheckShoppingCart(
	ShoppingCartInfo cart
)

Parameters

cart
Type: CMS.EcommerceShoppingCartInfo
Shopping cart to check

Return Value

Type: ShoppingCartCheckResult
See Also