- 49
When a customer logs into the website, they always get redirected to the home page. I am trying to modify this so that once they login, they are then redirected to the /customer/info page of their account. I have read in some forms this was a theme issue not a nopcommerce issue but I am not sure how to fix this.
I tried all these calls in the customercontroller.cs file:
// return RedirectToRoute("CustomerInfo", new { controller = "Customer", action = "Info" });
// return Redirect("customer/info");
// return RedirectToRoute("customerinfo", new { action = "Info" });
// return Response.RedirectToRoute("CustomerInfo");
they all invoke info customer call and view
but in all efforts, the redirect to the home page gets invoked
I also have modified info.cshtml
@using (Html.BeginForm("Info","Customer",FormMethod.Post, new { data_ajax = "false" }))
But still no luck at all. Any assistance would be appreciated.
I tried all these calls in the customercontroller.cs file:
// return RedirectToRoute("CustomerInfo", new { controller = "Customer", action = "Info" });
// return Redirect("customer/info");
// return RedirectToRoute("customerinfo", new { action = "Info" });
// return Response.RedirectToRoute("CustomerInfo");
they all invoke info customer call and view
but in all efforts, the redirect to the home page gets invoked
I also have modified info.cshtml
@using (Html.BeginForm("Info","Customer",FormMethod.Post, new { data_ajax = "false" }))
But still no luck at all. Any assistance would be appreciated.
Nate Kindom