Click or drag to resize
ShoppingCartItemInfoProviderCheckShoppingCartItem Method

Note: This API is now obsolete.

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

Namespace: CMS.Ecommerce
Assembly: CMS.Ecommerce (in CMS.Ecommerce.dll) Version: 12.0.0
Syntax
C#
[ObsoleteAttribute("Use ValidateShoppingCartItem() instead.")]
public static ShoppingCartItemCheckResult CheckShoppingCartItem(
	ShoppingCartItemInfo item
)

Parameters

item
Type: CMS.EcommerceShoppingCartItemInfo
Shopping cart item to check

Return Value

Type: ShoppingCartItemCheckResult
See Also