Click or drag to resize
ShoppingCartItemValidatorValidateMaxCartUnits Method
Validates that cart does not contain more items than allowed.

Namespace: CMS.Ecommerce
Assembly: CMS.Ecommerce (in CMS.Ecommerce.dll) Version: 12.0.0
Syntax
C#
protected virtual bool ValidateMaxCartUnits(
	SKUInfo sku
)

Parameters

sku
Type: CMS.EcommerceSKUInfo
SKU to be validated.

Return Value

Type: Boolean
Result of validation
See Also