-
No results found.
Try your search with a different keyword or use * as a wildcard.
_ProductBreadcrumb.cshtml
@model ProductDetailsModel.ProductBreadcrumbModel
@using Nop.Core.Domain.Catalog
@using Nop.Core.Domain.Common
@using Nop.Core.Domain.Seo
@inject CommonSettings commonSettings
@inject SeoSettings seoSettings
@{
var breadcrumbDelimiter = commonSettings.BreadcrumbDelimiter;
}
@if (Model.Enabled)
{
@await Component.InvokeAsync(typeof(WidgetViewComponent), new { widgetZone = PublicWidgetZones.ProductBreadcrumbBefore, additionalData = Model })
-
@T("Products.Breadcrumb.Top")
@breadcrumbDelimiter
@foreach (var category in Model.CategoryBreadcrumb)
{
-
@category.Name
@breadcrumbDelimiter
}
-
@Model.ProductName
@await Component.InvokeAsync(typeof(WidgetViewComponent), new { widgetZone = PublicWidgetZones.ProductBreadcrumbAfter, additionalData = Model })
@if (seoSettings.MicrodataEnabled)
{
}
}