Jump to content

[Résolu] Comment rendre le téléphone optionnel?


Recommended Posts

J'ai trouvé la solution dans une autre rubrique du forum. La voici:
/controllers/AuthController.php
/controllers/AddressController.php
il faut commenter ces lignes :
/*if (!Tools::getValue(‘phone’) AND !Tools::getValue(‘phone_mobile’)) $this->errors[] = Tools::displayError(‘You must register at least one phone number’); *

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