Close

Plugin Overriding

cayaniss
7 years ago
#12120 Quote
Avatar
  • 1
Greetings,

I purchased Ultimate theme collection,Great templates and design!!

I developed a plugin according to my client requirements. 

I am overriding the registration controller and view its working perfectly.When i install Seven Spikes Core plugins,its overriding my views and displaying default view. 

Please suggest how do i make my plugin  and nop template views plugin work simultaneously.

 public int Priority
        {
            get
            {
                return 0;
            }
        }


  public void RegisterRoutes(RouteCollection routes)
        {
                var route = routes.MapLocalizedRoute("Nop.Plugin.SMS.xxx.Register",                         "register"
            , new { controller = "Customer", action = "Register" }
            , new string[] { "Nop.Plugin.SMS.xxx.Controllers" }
             );


            routes.Remove(route);
            routes.Insert(1, route);
        }

iliyan.tanev
7 years ago
#12123 Quote
Avatar
  • Moderator
  • 347
Hi,

I replied to your ticket. :) 
Regards,
Iliyan Tanev
Nop-Templates Dev Team