spirosst Posted August 25, 2015 Share Posted August 25, 2015 Hi I need to know if there are a way to add a new customer, who does not have email adresse... the field ''email'' is requirement, and i dont want to put a ''fake'' email. have an idea to make this field ''non requirement'? Link to comment Share on other sites More sharing options...
vekia Posted August 25, 2015 Share Posted August 25, 2015 you can do it in class fileclasses/Customer.phpthere is a line like: 'email' => array('type' => self::TYPE_STRING, 'validate' => 'isEmail', 'required' => true, 'size' => 128), just remove "required => true," paramim affraid that this will generate some troubles because mail is very important thing in this case. especially in order process Link to comment Share on other sites More sharing options...
spirosst Posted August 26, 2015 Author Share Posted August 26, 2015 Thank you for your ansewer i will ckeck it but just to know if i will change this ''line'' will be change and at front office? Link to comment Share on other sites More sharing options...
vekia Posted August 27, 2015 Share Posted August 27, 2015 no, it shouldn't affect front office. Link to comment Share on other sites More sharing options...
spirosst Posted September 28, 2015 Author Share Posted September 28, 2015 hi again i tried to add manually (by my shelf) one customer with no email, but the system had an error. see pic can you help me please? I succeed to add a ''company'' at addressee tab but i could find this ''company'' at customer tab to make one manually order... Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now