Click or drag to resize
ShoppingCartInfoProviderValidateShoppingCartInternal Method
Validates shopping cart and all its items. Returns an empty collection in case validation passes.

Namespace: CMS.Ecommerce
Assembly: CMS.Ecommerce (in CMS.Ecommerce.dll) Version: 12.0.0
Syntax
C#
protected virtual IEnumerable<IValidationError> ValidateShoppingCartInternal(
	ShoppingCartInfo cart
)

Parameters

cart
Type: CMS.EcommerceShoppingCartInfo
Shopping cart to validate.

Return Value

Type: IEnumerableIValidationError
Returns collection of validation errors that occured.
See Also