ShoppingCartItemValidatorValidateCustomerMembership Method |
Validates that customer is either a member or membership is not required.
Namespace: CMS.EcommerceAssembly: CMS.Ecommerce (in CMS.Ecommerce.dll) Version: 12.0.0
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