Total Posts:
15
Karma:
145
Joined:
8/20/2009
Location:
Venezuela
Is it possible to add new fields to the addresses? I need to add an extra field to addresses for both shiping and billing. Which files should I edit?. I'm new in MVC, so is hard for me to understand the code. Thanks....
Total Posts:
285
Karma:
2710
Joined:
7/2/2012
Location:
India
you need to modify the code in following files 1) Presentation/Nop.Web/Controllers/checkoutcontroller.cs 2) Presentation/Nop.Web/Models/AddressModel.cs 3) Presentation/Nop.Web/Views/Common/BillingAddress.cshtml 4) Presentation/Nop.Web/Views/Common/ShippingAddress.cshtml mvc simple logic flow is request come to controller. controller process the request and map the respective view with or without model. with the use of model view will deliver the final html page as response. :)
Total Posts:
285
Karma:
2710
Joined:
7/2/2012
Location:
India
do modification in customer area too (controller and views). Presentation/Nop.Web/Controllers/CustomerController.cs Presentation/Nop.Web/Controllers/Views/Customer/ did you added necessary column in database address table? did you added mapping in Libraries/Nop.Data/Mapping/Common/Address.cs ?
Total Posts:
15
Karma:
145
Joined:
8/20/2009
Location:
Venezuela
Hi Elanchezhian... Yes I did, but still nothing... The field appears, but not when editing or creating...