Hello,

I am creating a plugin for nopCommerce 3.5, where I want to make some changes to the Admin/Order/List to display a few more columns in the list. I don't want to make changes to the core files which is why I decided to use a plugin for this purpose.

After reading up on the subject, especially these useful blog articles: http://alexwolfthoughts.com/overriding-views-in-a-nopcommerce-plugin/ and http://alexwolfthoughts.com/overriding-nopcommerce-admin-views-and-partial-views/ I created my plugin. To make sure everything was in working order, I copied the view I wanted to change into my plugin, before making any changes to it.

Using my plugin, I now get the following error when I go to the order list:

(CS0246) The type or namespace name 'OrderListModel' could not be found (are you missing a using directive or an assembly reference?)

I can provide the entire code for my plugin if necessary, but maybe someone knows what I am missing just from seeing this error? I understand that I am missing a reference somewhere (probably) but I am new to both MVC and C# so I am not sure what I should be referencing to, where I would find that file, and where I would add the reference to it.

My plugin currently contains the following references:
Nop.Admin
Nop.Core
Nop.Services
Nop.Web
Nop.Web.Framework
System.Web
System.Web.Helpers
System.Web.Mvc
System.Web.Razor
System.Web.Webpages
System.Web.Webpages.Deployment
System.Web.Webpages.Razor

I have a web.config file in my Views folder, which I copied from the Nop.Admin/Views folder, where I also found the /Order/List.cshtml view I want to modify.

Any help you can provide will be greatly appreciated.

Thank you.