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: 13.0.131
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