ShoppingCartItemValidatorValidateCustomerMembership Method |
Validates that customer is either a member or membership is not required.
Namespace: CMS.EcommerceAssembly: CMS.Ecommerce (in CMS.Ecommerce.dll) Version: 13.0.131
Syntax protected virtual bool ValidateCustomerMembership(
SKUInfo sku
)
Parameters
- sku
- Type: CMS.EcommerceSKUInfo
SKU to be validated.
Return Value
Type:
BooleanReturns false if membership is required and customer is not a member, otherwise return true.
See Also