Try your search with a different keyword or use * as a wildcard.
@model IList
@using Nop.Core.Domain.Catalog;
@using Nop.Services.Vendors
@foreach (var attribute in Model)
{
var controlId = $"{NopVendorDefaults.VendorAttributePrefix}{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;
}
@if (attribute.IsRequired)
{
}
}