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> - CollectionFeaturedProducts

DanielŻuławskifcb8c382021a
diff --git a/src/Web/Grand.Web/Views/Shared/Components/CollectionFeaturedProducts/Default.cshtml b/src/Web/Grand.Web/Views/Shared/Components/CollectionFeaturedProducts/Default.cshtml
index 57a6e8542..ad334cd5c 100644
--- a/src/Web/Grand.Web/Views/Shared/Components/CollectionFeaturedProducts/Default.cshtml
+++ b/src/Web/Grand.Web/Views/Shared/Components/CollectionFeaturedProducts/Default.cshtml
@@ -1,20 +1,19 @@
@model IList<CollectionModel>
@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.MF_m_Xl" lg="@order.MF_m_Lg" md="@order.MF_m_Md" sm="@order.MF_m_Sm" cols="@order.MF_m_Col" class="categoryGrid mb-3">
- <b-link href="@Url.RouteUrl("Collection", new { SeName = item.SeName })" title="@item.PictureModel.Title">
- <b-card no-body
- tag="article">
+ <div class="[email protected]_m_Xl [email protected]_m_Lg [email protected]_m_Md [email protected]_m_Sm [email protected]_m_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>