Tổng Bài đăng:
15
Karma:
145
Đã tham gia:
20/08/2009
Vị trí:
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....
Tổng Bài đăng:
285
Karma:
2710
Đã tham gia:
02/07/2012
Vị trí:
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. :)
Tổng Bài đăng:
285
Karma:
2710
Đã tham gia:
02/07/2012
Vị trí:
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 ?
Tổng Bài đăng:
15
Karma:
145
Đã tham gia:
20/08/2009
Vị trí:
Venezuela
Hi Elanchezhian... Yes I did, but still nothing... The field appears, but not when editing or creating...