Open-source eCommerce platform for C# and ASP.NET Core 10 with MongoDB. Build multi-store shops and multi-vendor marketplaces with B2B/B2C, REST API, plugins, Vue 3 and Docker.
C# aspnet-corecsharpdockerdotnetecommerceecommerce-platformmongodbmulti-storemulti-vendornosqlonline-shopshoppingcart
Replace <b-tags> - Breadcrumbs
DanielŻuławskie97be7e1ac86
diff --git a/src/Web/Grand.Web/Views/Product/_Breadcrumbs.cshtml b/src/Web/Grand.Web/Views/Product/_Breadcrumbs.cshtmlindex d1f92d858..335f33b3f 100644--- a/src/Web/Grand.Web/Views/Product/_Breadcrumbs.cshtml+++ b/src/Web/Grand.Web/Views/Product/_Breadcrumbs.cshtml@@ -2,29 +2,33 @@@if (Model.Enabled){var count = 1;- <b-container class="px-0">- <b-breadcrumb class="mb-0" itemscope itemtype="http://schema.org/BreadcrumbList">+ <div class="container px-0">+ <ol class="breadcrumb mb-0" itemscope="itemscope" itemtype="http://schema.org/BreadcrumbList">@await Component.InvokeAsync("Widget", new { widgetZone = "productbreadcrumb_before" })- <b-breadcrumb-item href="@Url.RouteUrl("HomePage")" itemprop="itemListElement" itemscope itemtype="http://schema.org/ListItem">- <b-icon icon="house-door" scale="1.25" shift-v="1.25" aria-hidden="true"></b-icon>- <span itemprop="name">@Loc["Products.Breadcrumb.Top"]</span>- <meta itemprop="position" content="@count" />- </b-breadcrumb-item>+ <li class="breadcrumb-item" itemprop="itemListElement" itemscope="itemscope" itemtype="http://schema.org/ListItem">+ <a href="@Url.RouteUrl("HomePage")" target="_self">+ <b-icon icon="house-door" scale="1.25" shift-v="1.25" aria-hidden="true"></b-icon>+ <span itemprop="name">@Loc["Products.Breadcrumb.Top"]</span>+ <meta itemprop="position" content="@count" />+ </a>+ </li>@foreach (var category in Model.CategoryBreadcrumb){count++;- <b-breadcrumb-item href="@Url.RouteUrl("Category", new { SeName = category.SeName })" itemprop="itemListElement" itemscope itemtype="http://schema.org/ListItem">- <span itemprop="name">@category.Name</span>- <meta itemprop="position" content="@count" />- </b-breadcrumb-item>+ <li itemprop="itemListElement" itemscope="itemscope" itemtype="http://schema.org/ListItem" class="breadcrumb-item">+ <a href="@Url.RouteUrl("Category", new { SeName = category.SeName })" target="_self">+ <span itemprop="name">@category.Name</span>+ <meta itemprop="position" content="@count" />+ </a>+ </li>}- <b-breadcrumb-item active itemprop="itemListElement" itemscope itemtype="http://schema.org/ListItem">+ <li itemprop="itemListElement" itemscope="itemscope" itemtype="http://schema.org/ListItem" class="breadcrumb-item active"><strong class="current-item" itemprop="name">@Model.ProductName</strong><span itemprop="item" itemscope itemtype="http://schema.org/Thing"id="@Url.RouteUrl("Product", new { SeName = Model.ProductSeName })"></span><meta itemprop="position" content="@(count+1)" />- </b-breadcrumb-item>- </b-breadcrumb>- </b-container>+ </li>+ </ol>+ </div>}\ No newline at end of file