Jump to content

Add custom field in registration form


annx10
 Share

Recommended Posts

Hi, I was looking tutorials, manuals, reading documentation about this theme, but I only found about add custom fields to address clients.

 

I want add a new custom field in registration form, required (it would be a select whose options are from database).

 

In this tutorial, http://nemops.com/new-customer-address-fields-prestashop/#.VYAHMlKz5UM

explains how add custom fields in addresses, and at the end explains that for registration form it would be same but modifying Customer class, and relative controllers, futhermore different template files: identity.tpl and authentication.tpl, as well as order-opc-new-account.tpl.

 

I have added custom field in database, I have create other tables with information for options of select. I have done override of class Customer, AdminCustomersController, but I don't know how I must modify identity.tpl, authentication.tpl or order-opc-new-account.tpl.

 

Can anyone help me with this, please?

Share this post


Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...

Important Information

Cookies ensure the smooth running of our services. Using these, you accept the use of cookies. Learn More