回帖总数:
15
业力:
145
注册日期:
2009/8/20
位置:
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....
回帖总数:
285
业力:
2710
注册日期:
2012/7/2
位置:
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. :)
回帖总数:
285
业力:
2710
注册日期:
2012/7/2
位置:
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 ?
回帖总数:
15
业力:
145
注册日期:
2009/8/20
位置:
Venezuela
Hi Elanchezhian... Yes I did, but still nothing... The field appears, but not when editing or creating...