Tárraga Posted July 23, 2015 Share Posted July 23, 2015 Hello all! I want to create custom fields when creating a customer in back office. I've already added them (ID Cliente wich will be id_customer in db and Tercero which is a custom field in db) in /controllers/admin/AdminCustomersController.php Now I want to synchronize them with database, how can I do this?Thanks a lot. Link to comment Share on other sites More sharing options...
jgamio Posted July 26, 2015 Share Posted July 26, 2015 Hi You need integrate the field to the Customer model You should do override the class Customer to add your new field then change the controller to save the data Look these link http://nemops.com/new-customer-address-fields-prestashop/ 1 Link to comment Share on other sites More sharing options...
Tárraga Posted July 27, 2015 Author Share Posted July 27, 2015 Thanks! That helped me a lot! Link to comment Share on other sites More sharing options...
dadycool015 Posted August 18, 2016 Share Posted August 18, 2016 (edited) tárraga can you show the script Edited August 18, 2016 by dadycool015 (see edit history) Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now