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.

Allow manging bestsellers manually directly on the product #5 - further minor changes

PatrykPorabikee2c90780410
diff --git a/src/Web/Grand.Web.Admin/Areas/Admin/Views/Setting/Catalog.TabGeneralSettings.cshtml b/src/Web/Grand.Web.Admin/Areas/Admin/Views/Setting/Catalog.TabGeneralSettings.cshtml
index eae09dfda..29477187c 100644
--- a/src/Web/Grand.Web.Admin/Areas/Admin/Views/Setting/Catalog.TabGeneralSettings.cshtml
+++ b/src/Web/Grand.Web.Admin/Areas/Admin/Views/Setting/Catalog.TabGeneralSettings.cshtml
@@ -443,15 +443,6 @@
</div>
</div>
<div class="col-md-6">
- <div class="form-group">
- <div class="col-6 col-md-6 col-sm-6">
- <admin-label asp-for="PeriodBestsellers" class="control-label" />
- </div>
- <div class="col-6 col-md-6 col-sm-6">
- <admin-input asp-for="PeriodBestsellers" />
- <span asp-validation-for="PeriodBestsellers"></span>
- </div>
- </div>
<div class="form-group">
<div class="col-6 col-md-6 col-sm-6">
<admin-label asp-for="ShowBestsellersOnHomepage" class="control-label" />
@@ -485,6 +476,15 @@
<span asp-validation-for="BestsellersFromReports"></span>
</div>
</div>
+ <div class="form-group">
+ <div class="col-6 col-md-6 col-sm-6">
+ <admin-label asp-for="PeriodBestsellers" class="control-label" />
+ </div>
+ <div class="col-6 col-md-6 col-sm-6">
+ <admin-input asp-for="PeriodBestsellers" />
+ <span asp-validation-for="PeriodBestsellers"></span>
+ </div>
+ </div>
<div class="form-group">
<div class="col-6 col-md-6 col-sm-6">
<admin-label asp-for="ProductsAlsoPurchasedEnabled" class="control-label" />
diff --git a/src/Web/Grand.Web/App_Data/Resources/DefaultLanguage.xml b/src/Web/Grand.Web/App_Data/Resources/DefaultLanguage.xml
index a891ac1fc..a40426897 100644
--- a/src/Web/Grand.Web/App_Data/Resources/DefaultLanguage.xml
+++ b/src/Web/Grand.Web/App_Data/Resources/DefaultLanguage.xml
@@ -2830,7 +2830,7 @@
<Value>Unit of the product being sold</Value>
</Resource>
<Resource Name="Admin.Catalog.Products.Fields.BestSeller">
- <Value>Best seller</Value>
+ <Value>Mark as a bestseller</Value>
</Resource>
<Resource Name="Admin.Catalog.Products.Fields.Brand">
<Value>Brand</Value>
@@ -10481,7 +10481,7 @@
<Value>Best seller products get from report</Value>
</Resource>
<Resource Name="Admin.Settings.Catalog.BestsellersFromReports.hint">
- <Value>Reports data are cached, refreshing will be after the expiration time.</Value>
+ <Value>Report data is cached, refreshing will be after the expiration time.</Value>
</Resource>
<Resource Name="Admin.Settings.Catalog.CategoryBreadcrumbEnabled">
<Value>Category breadcrumb enabled</Value>