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 fix

KrzysztofPajak2bc9dbfcce41
diff --git a/src/Web/Grand.Web/Views/ShoppingCart/_ModelScript.cshtml b/src/Web/Grand.Web/Views/ShoppingCart/_ModelScript.cshtml
index 298595741..13df5d76f 100644
--- a/src/Web/Grand.Web/Views/ShoppingCart/_ModelScript.cshtml
+++ b/src/Web/Grand.Web/Views/ShoppingCart/_ModelScript.cshtml
@@ -174,7 +174,7 @@
},
updateOnCart(id) {
axios({
- url: '/GetItemCart/' + id + '',
+ url: '@Url.RouteUrl("GetItemCart")/' + id + '',
method: 'get',
headers: { 'Content-Type': 'application/json' }
}).then(function (response) {