Click or drag to resize
ShoppingCartItemValidatorValidate Method
Validates individual shopping cart item. The following conditions must hold true for each item in cart for validation to pass: 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#
public virtual bool Validate()

Return Value

Type: Boolean
Returns true if validation passed, otherwise returns false.

Implements

IValidatorValidate
See Also