Всего сообщений:
15
Карма:
145
Присоединился:
20.08.2009
Страна:
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
Присоединился:
02.07.2012
Страна:
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
Присоединился:
02.07.2012
Страна:
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
Присоединился:
20.08.2009
Страна:
Venezuela
Hi Elanchezhian... Yes I did, but still nothing... The field appears, but not when editing or creating...