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.
C# aspnet-corecsharpdockerdotnetecommerceecommerce-platformmongodbmulti-storemulti-vendornosqlonline-shopshoppingcart
Add hint/tips to the component controller
KrzysztofPajak5919b6be1dfb
diff --git a/src/Web/Grand.Web/Controllers/ComponentController.cs b/src/Web/Grand.Web/Controllers/ComponentController.csindex 2da7b539f..a7c6d1976 100644--- a/src/Web/Grand.Web/Controllers/ComponentController.cs+++ b/src/Web/Grand.Web/Controllers/ComponentController.cs@@ -54,6 +54,20 @@ namespace Grand.Web.Controllers}).done(function (data) {console.log(data)});++ //axios+ var data = { productId: '60c7426c072f3077f305745e'};+ axios({+ url: '/Component/Index',+ method: 'post',+ params: { "name": "RelatedProducts" },+ data: JSON.stringify(data),+ headers: { 'Content-Type': 'application/json' }+ })+ .then(function (response) {+ console.log(response);+ });+*/if (!ValidRequest(name, out var error))