I am unsure whether anyone is able to help me.
I am trying to write a plugin for nopcommerce, I can load a partial view however I am unable to get to the controller using the route I have specified.
The assembly is called Nop.Plugin.Search.Bikes, this is the route I have specified:
routes.MapRoute("Plugin.Search.Bikes.Index","Plugins/BikeSearch",new { controller = "BikeSearch", action = "Index" }, new[] {"Nop.Plugin.Search.Bikes.Controllers"});
routes.MapRoute("Plugin.Search.Bikes.GetYears","Plugins/BikeSearch/GetYears", new { controller = "BikeSearch", action = "YearList" }, new[] {"Nop.Plugin.Search.Bikes.Controllers"});
I have used Glimpse and am able to see that the route is installed and that it appears to have the correct datatoken values.
I can also see that the Install is working as the data table relating to the plugin is created.
Driving me nuts that the controller doensn't appear to be usable (By going /Plugins/BikeSearch returns 302 page not found error) and it's probably down to something stupid that i have forgotten.
Any Ideas?
Regards,
DJPERROTT