ShoppingCartItemInfoProviderCheckShoppingCartItemInternal Method |
Note: This API is now obsolete.
Checks shopping cart item in the shopping cart. If check fails the specified error message is returned, otherwise an empty string is returned.
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.EcommerceAssembly: CMS.Ecommerce (in CMS.Ecommerce.dll) Version: 12.0.0
Syntax [ObsoleteAttribute("Use ValidateShoppingCartItemInternal() instead.")]
protected virtual ShoppingCartItemCheckResult CheckShoppingCartItemInternal(
ShoppingCartItemInfo item
)
Parameters
- item
- Type: CMS.EcommerceShoppingCartItemInfo
Shopping cart item to check
Return Value
Type:
ShoppingCartItemCheckResultSee Also