Hi All,
I've added some code to the CatalogController.cs to say:
public ActionResult ProductGridList()
{
return View();
}
I've got a forced link using:
<a href="@Url.RouteUrl("ProductGridList", new { categoryId = 8, SeName = "collections" })">Test</a>
Which I want to call the actionresult from so, I've added the route using:
routes.MapLocalizedRoute("ProductGridList",
"c/{categoryId}/{SeName}",
new { controller = "Catalog", action = "ProductGridList", SeName = UrlParameter.Optional },
new { categoryId = @"\d+" },
new[] { "Nop.Web.Controllers" });
Now, why does it ALWAYS call the Category actionresult? Why won't it call the productgridlist?