Jump to content

Custom fields in customer registration


ndibos

Recommended Posts

Hi,

 

I need few more information for customers: bank account, bank office, and 2more.

I'm using the new 1.6.1 version. Tried to edit adress, customers tpl, etc, but wont work.

 

Please help me if you have that modification made.

 

Thanks.

Daniel.

Link to comment
Share on other sites

First thing you will have to do is adding fields to the customer table in database. https://dev.mysql.com/doc/refman/5.1/en/alter-table.html

 

Then override Customer.php model to add your custom fields.  http://doc.prestashop.com/display/PS16/Overriding+default+behaviors

 

 

After this two things you can modify your templates (admin and front) to provide a way to enter values. 

Link to comment
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
×
×
  • Create New...