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.

Admin - remove option AllStores (for settings)

KrzysztofPajakd2d7adc98870
diff --git a/src/Web/Grand.Web.Admin/Areas/Admin/Views/Shared/Components/StoreScope/Default.cshtml b/src/Web/Grand.Web.Admin/Areas/Admin/Views/Shared/Components/StoreScope/Default.cshtml
index 5db820f84..3a6063c23 100644
--- a/src/Web/Grand.Web.Admin/Areas/Admin/Views/Shared/Components/StoreScope/Default.cshtml
+++ b/src/Web/Grand.Web.Admin/Areas/Admin/Views/Shared/Components/StoreScope/Default.cshtml
@@ -8,13 +8,6 @@
Selected = store.Id.Equals(Model.StoreId)
})
.ToList();
-
- stores.Insert(0, new SelectListItem
- {
- Text = Loc["Admin.Settings.StoreScope.AllStores"],
- Value = Url.Action("ChangeStore", "Setting", new { storeid = 0, returnurl = rawUrl, area = Constants.AreaAdmin }),
- Selected = 0.Equals(Model.StoreId)
- });
}
<div class="form-group">
<div class="col-md-12">