Hello,
I want to override the view "CategoryTemplate.ProductsInGridOrLines.cshtml" in my own plugin.
I found those 2 links to help me :
https://www.pronopcommerce.com/3-ways-to-display-views-in-your-nopcommerce-plugins-embedded-resource-theme-override-and-custom-view-engine
http://alexwolfthoughts.com/overriding-views-in-a-nopcommerce-plugin/
But I didn't succeed.
I just want override the view to add a custom widgetZone.
On the first link in "The Advanced Method - "Custom View Engine", I don't understand the class "CustomViewEngine.cs"
It says "What this code does is that it adds additional locations for the ViewEngine to search for Views. The placeholder {0} will be replaced by your Controller's Action name."
But I haven't any controller action for the View I want to override. I just want when the View is called, the program search my overrided View instead the basical view.
Can someone help me ?
Thank's