Skip to content

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.

Replace <b-tags> - CategoryFeaturedProducts

DanielŻuławskic93a6fa76bae
diff --git a/src/Web/Grand.Web/Views/Shared/Components/CategoryFeaturedProducts/Default.cshtml b/src/Web/Grand.Web/Views/Shared/Components/CategoryFeaturedProducts/Default.cshtml
index e89ccc06e..4a6faa362 100644
--- a/src/Web/Grand.Web/Views/Shared/Components/CategoryFeaturedProducts/Default.cshtml
+++ b/src/Web/Grand.Web/Views/Shared/Components/CategoryFeaturedProducts/Default.cshtml
@@ -1,20 +1,19 @@
@model IList<CategoryModel>
@inject DisplayOrderHomePage order
-<b-col cols="12" class="product-grid px-0 [email protected]">
- <b-form-row>
+<div class="product-grid col-12 px-0 [email protected]">
+ <div class="form-row">
@foreach (var item in Model)
{
- <b-col xl="@order.CF_c_Xl" lg="@order.CF_c_Lg" md="@order.CF_c_Md" sm="@order.CF_c_Sm" cols="@order.CF_c_Col" class="categoryGrid mb-3">
- <b-link href="@Url.RouteUrl("Category", new { SeName = item.SeName })" title="@item.PictureModel.Title">
- <b-card no-body
- tag="article">
+ <div class="[email protected]_c_Xl [email protected]_c_Lg [email protected]_c_Md [email protected]_c_Sm [email protected]_c_Col categoryGrid mb-3">
+ <a href="@Url.RouteUrl("Collection", new { SeName = item.SeName })" title="@item.PictureModel.Title">
+ <article class="card">
<b-card-img-lazy src="@item.PictureModel.ImageUrl" alt="@item.PictureModel.AlternateText"></b-card-img-lazy>
- <b-card-body>
+ <div class="card-body">
<h4>@item.Name</h4>
- </b-card-body>
- </b-card>
- </b-link>
- </b-col>
+ </div>
+ </article>
+ </a>
+ </div>
<div class="form-row flex-grid">
@foreach (var product in item.FeaturedProducts)
@@ -26,5 +25,5 @@
</div>
</div>
}
- </b-form-row>
-</b-col>
+ </div>
+</div>