Click or drag to resize
ShoppingCartInfoProviderValidateShoppingCart 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#
public static IEnumerable<IValidationError> ValidateShoppingCart(
	ShoppingCartInfo cart
)

Parameters

cart
Type: CMS.EcommerceShoppingCartInfo
Shopping cart to validate.

Return Value

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