Patru Dan Posted August 18, 2013 Share Posted August 18, 2013 Hello! Can someone help me with a tutorial or modified files to add fields (IBAN bank) form a site Registerto done with PrestaShop 1.5.4.1? Link to comment Share on other sites More sharing options...
vekia Posted August 18, 2013 Share Posted August 18, 2013 check this nice tutorial: http://www.bitsandchips.it/forum/viewtopic.php?f=11&t=4884 Link to comment Share on other sites More sharing options...
Patru Dan Posted August 18, 2013 Author Share Posted August 18, 2013 I saw that tutorial and I made all the changes but do not know how to add fields later. I am beginner in PS would be grateful if you could tell me what to do after making changes in the tutorial to add fields. Link to comment Share on other sites More sharing options...
vekia Posted August 18, 2013 Share Posted August 18, 2013 all fields that you added should appear now in your register process, fields don't appear for you? Link to comment Share on other sites More sharing options...
sdancer75 Posted April 7, 2014 Share Posted April 7, 2014 Hello! Can someone help me with a tutorial or modified files to add fields (IBAN bank) form a site Registerto done with PrestaShop 1.5.4.1? I managed to add new fields chaning the following files. 1) I am using default theme 2) Prestashop 1.5.6.2 3) I manually added the fields to the MySQL DB in the table ps_address 4) After the changes below, to show the new fileds inside the BackOffice ie orders, pdf invoice etc, I had to add the new fields to Localization->Country->Edit address 5) NOTE : Do not name your new fields with text including "id" or "id_" or you will never see that fields in the step (4). C:\xampp181\htdocs\prestashop15\classes\Address.php C:\xampp181\htdocs\prestashop15\themes\default\address.tpl C:\xampp181\htdocs\prestashop15\themes\default\mobile\address.tpl C:\xampp181\htdocs\prestashop15\controllers\admin\AdminAddressesController.php C:\xampp181\htdocs\prestashop15\controllers\admin\AdminCountriesController.php C:\xampp181\htdocs\prestashop15\themes\default\authentication.tpl C:\xampp181\htdocs\prestashop15\themes\default\mobile\authentication.tpl C:\xampp181\htdocs\prestashop15\themes\default\mobile\authentication-create-account.tpl C:\xampp181\htdocs\prestashop15\admin9914\themes\default\template\controllers\addresses\helpers\form\form.tpl Link to comment Share on other sites More sharing options...
NemoPS Posted April 22, 2014 Share Posted April 22, 2014 Here is my latest tut on the topic: http://nemops.com/new-customer-address-fields-prestashop/#.U1Y0qfna6r0 Link to comment Share on other sites More sharing options...
roz Posted May 7, 2014 Share Posted May 7, 2014 Here is my latest tut on the topic: http://nemops.com/new-customer-address-fields-prestashop/#.U1Y0qfna6r0 hi Nemo1! i wanted to follow your tutorial with adding a field in Customer fields. however, i'm not quite sure what to change in identity.tpl and authentication.tpl, as well as order-opc-new-account.tpl. a little help will be very much appreciated thank you Link to comment Share on other sites More sharing options...
NemoPS Posted May 7, 2014 Share Posted May 7, 2014 Sure, what do you need to add exactly? You just need to apply the same principle, locate fields which are there already, copy one, change name, id, value, and you're done Link to comment Share on other sites More sharing options...
roz Posted May 7, 2014 Share Posted May 7, 2014 i need to add a Passport No. field in Personal Information section Link to comment Share on other sites More sharing options...
eduard02 Posted July 20, 2014 Share Posted July 20, 2014 check this nice tutorial: http://www.bitsandchips.it/forum/viewtopic.php?f=11&t=4884 Hi, Nice tutorial at Bits and Chips but for me is working only if the referral code is filled. If I leave it blank : "An error occurred while creating your account". I tried to remove 'validate' => 'isGenericName' but no results. Also tried to edit like this: array('type' => self::TYPE_STRING, 'validate' => 'isGenericName', 'required' => false, 'size' => 64), but no results. Any ideas how to fix this? Thank you. Link to comment Share on other sites More sharing options...
Recommended Posts