I am trying to create nopCommerce plugin.I want to override nopCommerce onepagecheckout. I wrote next code in my plugin :
public class RouteProvider : IRouteProvider
{
public void RegisterRoutes(RouteCollection routes)
{
System.Web.Mvc.ViewEngines.Engines.Add(new CustomViewEngine());
routes.MapLocalizedRoute("CheckoutOnePage",
"onepagecheckout/",
new { controller = "CheckoutTwoStepCheckoutController", action = "OnePageCheckout" },
new[] { "Nop.Plugin.Checkout.TwoStepCheckout.Controllers" });
}
public int Priority
{
get { return 100; }
}
}
But when i go on localhostnumber/onepagecheckout i have next:
Please help me :)