Webiant Logo Webiant Logo
  1. No results found.

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

_ProductTags.cshtml

@model IList<ProductTagModel>

@using Nop.Core.Domain.Catalog

@if (Model.Count > 0)
{
    <div class="product-tags-box">
        <h2 class="title">
            @T("Products.Tags")
        </h2>
        <div class="product-tags-list">
            <ul>
                @for (var i = 0; i < Model.Count; i++)
                {
                    <li class="tag">
                        <a href="@(await NopUrl.RouteGenericUrlAsync<ProductTag>(new { SeName = Model[i].SeName }))" class="producttag">
                            @Model[i].Name
                        </a> <span>@T("Products.Tags.Count", Model[i].ProductCount)</span>
                    </li>
                    if (i != Model.Count - 1)
                    {
                        <li class="separator">,</li>
                    }
                }
            </ul>
        </div>
    </div>
}