Webiant Logo Webiant Logo
  1. No results found.

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

_AddressAttributes.cshtml

@model IList
@using Nop.Core.Domain.Catalog;
@foreach (var attribute in Model)
{
    var controlId = $"address_attribute_{attribute.Id}";
    var textPrompt = attribute.Name;
    
@switch (attribute.AttributeControlType) { case AttributeControlType.DropdownList: { } break; case AttributeControlType.RadioList: { foreach (var attributeValue in attribute.Values) {
} } break; case AttributeControlType.Checkboxes: case AttributeControlType.ReadonlyCheckboxes: { foreach (var attributeValue in attribute.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; }
}