Advertisement:

Author Topic: Add field in account form  (Read 903 times)

amoric69

  • Full Member
  • ***
  • Posts: 185
Add field in account form
« on: April 08, 2014, 06:00:09 pm »
Hello,
I'm looking to make changes in My Account / Account - This is the form edition.
Is it possible to add a required field SIREN?
Is it mandatory to go through a SQL query?

thank you

frosticek

  • Hero Member
  • *****
  • Posts: 3948
Re: Add field in account form
« Reply #1 on: April 14, 2014, 12:51:26 pm »
@amoric69
If you want to add new unique field, you need to:
  • create column in database
  • modify core to work with this field (save, update, load)
  • modify theme to have this field
  • do first 2 points every time you upgrade

Because of it it is better to modify existing field you do not need (i.e. city area) and work with it :)