Webiant Logo Webiant Logo
  1. No results found.

    Try your search with a different keyword or use * as a wildcard.

_CustomerAttributes.cshtml

@model IList
@using Nop.Core.Domain.Catalog;
@using Nop.Services.Customers

@foreach (var customerAttribute in Model)
{
    var controlId = $"{NopCustomerServicesDefaults.CustomerAttributePrefix}{customerAttribute.Id}";
    var textPrompt = customerAttribute.Name;
    
@switch (customerAttribute.AttributeControlType) { case AttributeControlType.DropdownList: { } break; case AttributeControlType.RadioList: { foreach (var attributeValue in customerAttribute.Values) {
} } break; case AttributeControlType.Checkboxes: case AttributeControlType.ReadonlyCheckboxes: { foreach (var attributeValue in customerAttribute.Values) {
} } break; case AttributeControlType.TextBox: { } break; case AttributeControlType.MultilineTextbox: { } break; case AttributeControlType.Datepicker: case AttributeControlType.FileUpload: case AttributeControlType.ColorSquares: case AttributeControlType.ImageSquares: { //not support attribute type } break; }
}