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: 13.0.131
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 occurred.
See Also