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.

Shipping Providers - allow to display by Priority

KrzysztofPajak98929e97cd0b
diff --git a/src/Business/Grand.Business.Checkout/Services/Shipping/ShippingService.cs b/src/Business/Grand.Business.Checkout/Services/Shipping/ShippingService.cs
index d8ecce74a..d5e1d0245 100644
--- a/src/Business/Grand.Business.Checkout/Services/Shipping/ShippingService.cs
+++ b/src/Business/Grand.Business.Checkout/Services/Shipping/ShippingService.cs
@@ -105,7 +105,7 @@ namespace Grand.Business.Checkout.Services.Shipping
return _shippingRateCalculationProvider
.Where(x =>
x.IsAuthenticateStore(storeId) &&
- x.IsAuthenticateGroup(customer)).ToList();
+ x.IsAuthenticateGroup(customer)).OrderBy(x => x.Priority).ToList();
}
#endregion