I want to add a new customer address field called "NumeroExterior" I have added the code in my CustomerModel.cs and _CreateOrUpdate.cshtml and in the database as well, along all the files that are required.
However I have the following error message:
Compilation Error
Description: An error occurred during the compilation of a resource required to service this request. Please review the following specific error details and modify your source code appropriately.
Compiler Error Message: CS1061: 'Nop.Admin.Models.Customers.CustomerModel' does not contain a definition for 'NumeroExteriorEnabled' and no extension method 'NumeroExteriorEnabled' accepting a first argument of type 'Nop.Admin.Models.Customers.CustomerModel' could be found (are you missing a using directive or an assembly reference?)
Source Error:
Line 339: </tr>
Line 340: }
Line 341: @if (Model.NumeroExteriorEnabled)
Line 342: {
Line 343: <tr>
Source File: e:\hostingspaces\darkog\ntmexico.com.mx\wwwroot\Administration\Views\Customer\_CreateOrUpdate.cshtml Line: 341
I do now why, could you please help me?