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.

Minor changes - add div to CategoryLayout.GridOrLines

KrzysztofPajakf0d46839b895
diff --git a/src/Web/Grand.Web/Views/Catalog/CategoryLayout.GridOrLines.cshtml b/src/Web/Grand.Web/Views/Catalog/CategoryLayout.GridOrLines.cshtml
index 7a0f7cb7b..566131fbc 100644
--- a/src/Web/Grand.Web/Views/Catalog/CategoryLayout.GridOrLines.cshtml
+++ b/src/Web/Grand.Web/Views/Catalog/CategoryLayout.GridOrLines.cshtml
@@ -59,7 +59,7 @@
id="@Url.RouteUrl("Category", new { SeName = cat.SeName })">
</span>
<meta itemprop="position" content="@count" />
- </a>
+ </a>
</li>
}
@@ -124,8 +124,8 @@
</div>
}
@await Component.InvokeAsync("Widget", new { widgetZone = "categorydetails_after_featured_products", additionalData = Model.Id })
-
- @await Component.InvokeAsync("Widget", new { widgetZone = "categorydetails_before_filters", additionalData = Model.Id })
+ <div id="catalog-products">
+ @await Component.InvokeAsync("Widget", new { widgetZone = "categorydetails_before_filters", additionalData = Model.Id })
<template v-if="catalog.Model !== undefined">
<partial name="_Selectors" />
<template v-if="catalog.Model.Products.length > 0">
@@ -159,8 +159,7 @@
</div>
</template>
</template>
-
-
+ </div>
@*Rendering bottom description*@
@if (!String.IsNullOrWhiteSpace(Model.BottomDescription))
{
@@ -173,7 +172,9 @@
@*Rendering rccently viewed products section*@
@await Component.InvokeAsync("RecentlyViewedProductsBlock", new { productThumbPictureSize = 235 })
+
</div>
+
@section filters
{
@*Rendering filtering section*@
@@ -183,4 +184,4 @@
}
}
-<partial name="_ModelScript" model="@Json.Serialize(Model)" />
\ No newline at end of file
+<partial name="_ModelScript" model="@Json.Serialize(Model)" />