prt_shopping Posted January 21, 2014 Share Posted January 21, 2014 I use prestashop 1.4, i have craeted new field for registration, the field is created in authentification.tpl, classes/Address.php, in the database is field in table #_address correct created, but data is not inserted, my question is, where have i to add this field to insert this data? Link to comment Share on other sites More sharing options...
CartExpert.net Posted January 22, 2014 Share Posted January 22, 2014 Hi. Did you add the new field to $fieldsRequired, $fieldsSize and $fieldsValidate ? Regards.Robin.The CartExpert Team Link to comment Share on other sites More sharing options...
prt_shopping Posted January 23, 2014 Author Share Posted January 23, 2014 Yes, i added it, also to Customer.php, but i don't get any insert in this field, i don't see any php error message. There are no changes in other files required? Link to comment Share on other sites More sharing options...
CartExpert.net Posted January 23, 2014 Share Posted January 23, 2014 Hi. Did you add it to getFields() ? Regards.Robin.The CartExpert Team Link to comment Share on other sites More sharing options...
prt_shopping Posted January 24, 2014 Author Share Posted January 24, 2014 (edited) Now works, many thanks Edited January 24, 2014 by prt_shopping (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