jfacero Posted February 13, 2012 Share Posted February 13, 2012 Hello everybody, I need that phone number will be mandatory in my website when a new customer is created. I made the necesary modifications in the prestashop code but when a user does not insert the new mandatory field (phone number) the systems returns me an error message like this Message Error: 01. is necessary. I suppose that the correct message would be the next one: Message Error: 01. Phone Number is necessary. How could I inform this field to the user? Thank you very much! I´m using 1.3.6.0 prestashop version. Link to comment Share on other sites More sharing options...
jfacero Posted February 15, 2012 Author Share Posted February 15, 2012 No one could help me? Please it´s very important for me! Thanks in advance! Link to comment Share on other sites More sharing options...
CartExpert.net Posted February 15, 2012 Share Posted February 15, 2012 Hello, We did only this small modification: protected $fieldsRequired = array('id_country', 'alias', 'lastname', 'firstname', 'address1', 'postcode', 'city', 'phone'); and the error is: phone is required 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