Jump to content

how to customize user info


Recommended Posts

1, you must add a field to database table ps_customer.
2, modfiy classes/Customer.php , add a var for your ps_customer field. and modfiy function getFields() to add $fields['your_var'] = pSQL($this->your_var);
3,modfiy \themes\prestashop\authentication.tpl to add your user info.


all is ok.

Link to comment
Share on other sites

  • 2 weeks later...

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...