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 in CollectionLayout.GridOrLines.cshtml file
PatrykPorabik8ad92d848dfa
diff --git a/src/Web/Grand.Web/Views/Catalog/CollectionLayout.GridOrLines.cshtml b/src/Web/Grand.Web/Views/Catalog/CollectionLayout.GridOrLines.cshtmlindex 5fd87daff..59728e23b 100644--- a/src/Web/Grand.Web/Views/Catalog/CollectionLayout.GridOrLines.cshtml+++ b/src/Web/Grand.Web/Views/Catalog/CollectionLayout.GridOrLines.cshtml@@ -21,28 +21,30 @@@*Rendering description section*@@if (!String.IsNullOrWhiteSpace(Model.Description)){- <b-card no-body class="collection-description">- @Html.Raw(Model.Description)- </b-card>+ <div class="card collection-description">+ <div class="card-body">+ @Html.Raw(Model.Description)+ </div>+ </div>}@await Component.InvokeAsync("Widget", new { widgetZone = "collectiondetails_before_featured_products", additionalData = Model.Id })@*Rendering featured products section*@@if (Model.FeaturedProducts.Any()){<div class="page-separator"></div>- <b-col cols="12" class="product-grid featured-product-grid px-0">+ <div class="col-12 product-grid featured-product-grid px-0"><h2 class="h5 text-left mb-3"><span>@Loc["Products.FeaturedProducts"]</span></h2>- <b-form-row>+ <div class="form-row">@foreach (var item in Model.FeaturedProducts){- <b-col lg="4" sm="6" cols="6" class="product-container mb-2">+ <div class="col-lg-4 col-sm-6 col-6 product-container mb-2"><partial name="_CatalogProductView" model="item" />- </b-col>+ </div>}- </b-form-row>- </b-col>+ </div>+ </div>}@await Component.InvokeAsync("Widget", new { widgetZone = "collectiondetails_after_featured_products", additionalData = Model.Id })<div id="catalog-products">@@ -50,42 +52,44 @@<partial name="_Selectors" /><template v-if="catalog.Model.Products.length > 0"><template v-if="catalog.Model.PagingFilteringContext.ViewMode == 'grid'">- <b-col cols="12" class="product-grid px-0">- <b-form-row>+ <div class="col-12 product-grid px-0">+ <div class="form-row"><template v-for="Model in catalog.Model.Products">- <b-col lg="4" sm="6" cols="6" class="product-container mb-2">+ <div class="col-lg-4 col-sm-6 col-6 product-container mb-2"><partial name="_CatalogProductViewVue" />- </b-col>+ </div></template>- </b-form-row>- </b-col>+ </div>+ </div></template><template v-else><div class="product-list">- <b-col cols="12">- <b-row>+ <div class="col-12">+ <div class="row"><template v-for="Model in catalog.Model.Products"><partial name="_CatalogProductListViewVue" /></template>- </b-row>- </b-col>+ </div>+ </div></div></template><partial name="_Pagination" /></template><template v-else>- <b-alert variant="info" show class="my-3">+ <div class="alert alert-info my-3">@Loc["search.noresultstext"]- </b-alert>+ </div></template></div>@*Rendering bottom description section*@@if (!String.IsNullOrWhiteSpace(Model.BottomDescription)){- <b-card no-body class="collection-description">- @Html.Raw(Model.BottomDescription)- </b-card>+ <div class="card collection-description">+ <div class="card-body">+ @Html.Raw(Model.BottomDescription)+ </div>+ </div>}@await Component.InvokeAsync("Widget", new { widgetZone = "collectiondetails_bottom", additionalData = Model.Id })