Webiant Logo Webiant Logo
  1. No results found.

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

_ProductSpecifications.cshtml

@model ProductSpecificationModel

@using Nop.Core.Domain.Catalog;

@if (Model.Groups.SelectMany(g => g.Attributes).ToList().Count > 0)
{
    
@T("Products.Specs")
@foreach (var group in Model.Groups) { @if (group.Attributes.Count > 0) { @if (group.Id > 0) { } @for (int i = 0; i < group.Attributes.Count; i++) { var attr = group.Attributes[i]; } } }
@T("Products.Specs.AttributeName") @T("Products.Specs.AttributeValue")
@group.Name
@attr.Name @for (int j = 0; j < attr.Values.Count; j++) { var value = attr.Values[j]; @if (!string.IsNullOrEmpty(value.ColorSquaresRgb) && (value.AttributeTypeId == (int)SpecificationAttributeType.Option)) {
 
} else { @Html.Raw(value.ValueRaw) if (j != attr.Values.Count - 1) { } } }
}