Try your search with a different keyword or use * as a wildcard.
@model IList
@using Nop.Core.Domain.Catalog;
@using Nop.Services.Catalog
@inject CatalogSettings catalogSettings
@if (Model.Count > 0)
{
foreach (var attribute in Model)
{
var controlId = $"{NopCatalogDefaults.ProductAttributePrefix}{attribute.Id}";
var textPrompt = !string.IsNullOrEmpty(attribute.TextPrompt) ? attribute.TextPrompt : attribute.Name;
@switch (attribute.AttributeControlType)
{
case AttributeControlType.DropdownList:
{
}
break;
case AttributeControlType.RadioList:
case AttributeControlType.ColorSquares:
case AttributeControlType.ImageSquares:
{
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:
{
}
break;
case AttributeControlType.FileUpload:
{
}
break;
}
@if (attribute.IsRequired)
{
}
}
}