I'm working on a nopCommerce plugin project. nopCommerce is build on MVC4 using Razor Syntax.
I need to extend one of the partial view from plugin/extension I'm building. However, I can't think of how to do it technically.
Any idea, how to extend/replace one of the partial view from nopCommerce plugin/extension.
---- Update ----
I need to extend partial view (to be specific _productbox.cshtml) using a plugin that doesn't have controller.
I really do not need to override controller and its action method as it is not required for my plugin to work. I am doing some changes into a partial view template's markup and rest of the things are done by my javascript. So basically there is no point in extending controller or action method.
Any idea is highly appreciated.
Can you advise. Thanks for your response.
Thanks in advance.
In Nop commerce has defined widget area in each page where we can place our partial view You can see Nop.Plugin.Widgets.NivoSlider plugin of nop commerce where they defined in widget location in this file NivoSliderPlugin.cs
like below
public IList<string> GetWidgetZones()
{
return new List<string>() { "home_page_top" };
}
"home_page_top" : parameter shows where you want display your plugin widget