Try your search with a different keyword or use * as a wildcard.
@using Nop.Core.Domain.Catalog
@model CheckoutAttributeModel
@if (Model.Id > 0)
{
@if (Model.ConditionModel.ConditionAttributes.Count > 0)
{
@for (var i = 0; i < Model.ConditionModel.ConditionAttributes.Count; i++)
{
@switch (Model.ConditionModel.ConditionAttributes[i].AttributeControlType)
{
case AttributeControlType.DropdownList:
break;
case AttributeControlType.RadioList:
case AttributeControlType.ColorSquares:
case AttributeControlType.ImageSquares:
foreach (var value in Model.ConditionModel.ConditionAttributes[i].Values)
{
}
break;
case AttributeControlType.Checkboxes:
for (var j = 0; j < Model.ConditionModel.ConditionAttributes[i].Values.Count; j++)
{
}
break;
case AttributeControlType.ReadonlyCheckboxes:
case AttributeControlType.TextBox:
case AttributeControlType.MultilineTextbox:
case AttributeControlType.Datepicker:
case AttributeControlType.FileUpload:
default:
//not supported as conditions
break;
}
}
}
else
{
@T("Admin.Catalog.Attributes.CheckoutAttributes.Condition.NoAttributeExists")
}
}
else
{
@T("Admin.Catalog.Attributes.CheckoutAttributes.Condition.SaveBeforeEdit")
}