Jump to content

Edit History

elementChaosu

elementChaosu


found user friendlier solution

In PS 1.7.7 user address, fields for address form are provided by function getFormat($id_country) in classes/addressformat.php.
It reads fields list from database, tab ps_address_format. There you can add dni to desired position in list, which is defined there for each country.
Then customer can edit his dni in customer area.
B2B option did not worked for me in this situation.
If no country is in parameter of function, the default value can be found in tab ps_configuration PS_COUNTRY_DEFAULT.

Edit: in backoffice this can be editted in Menu >International > Location > Countries - in detail of your country, there is an option to edit form fields ( :


 

elementChaosu

elementChaosu

In PS 1.7.7 user address, fields for address form are provided by function getFormat($id_country) in classes/addressformat.php.
It reads fields list from database, tab ps_address_format. There you can add dni to desired position in list, which is defined there for each country.
Then customer can edit his dni in customer area.
B2B option did not worked for me in this situation.
If no country is in parameter of function, the default value can be found in tab ps_configuration PS_COUNTRY_DEFAULT.


 

×
×
  • Create New...