Click or drag to resize
CreateOrderValidatorValidate Method
Validates shopping cart before creating order. Validation includes: all required properties must be set, cart must contain at least one item, user must not be disabled, shipping and payment options, cart addresses and user must not be banned if site requires registration.

Namespace: CMS.Ecommerce
Assembly: CMS.Ecommerce (in CMS.Ecommerce.dll) Version: 12.0.0
Syntax
C#
public bool Validate()

Return Value

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

Implements

IValidatorValidate
See Also