Click or drag to resize
ShoppingCartItemValidatorValidateCustomerMembership Method
Validates that customer is either a member or membership is not required.

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

Parameters

sku
Type: CMS.EcommerceSKUInfo
SKU to be validated.

Return Value

Type: Boolean
Returns false if membership is required and customer is not a member, otherwise return true.
See Also