Amin Vatandoust Posted November 19, 2018 Share Posted November 19, 2018 Hi I'm using PrestaShop 1.7.4 and i'm trying to make "email" field optional in cart fields. When i turn on guest mode, it will make "password" field optional and i want to make email like password. So is there any way to use some code in controller/classes (or other files) to make this field optional or hard-code something to make it pre-filled with an email and if customer didn't enter any email, it doesn't show error any use that default email instead? Thanks. Link to comment Share on other sites More sharing options...
shikotak Posted December 11, 2018 Share Posted December 11, 2018 Good question. It should be optional not mandatory. Link to comment Share on other sites More sharing options...
haunter Posted January 9, 2019 Share Posted January 9, 2019 classes/Customer.php - $definition Link to comment Share on other sites More sharing options...
Catarina123 Posted February 24, 2022 Share Posted February 24, 2022 Hi, I have the same problem, what can I do? I want to make email optional On 11/19/2018 at 9:10 PM, Amin Vatandoust said: Hi I'm using PrestaShop 1.7.4 and i'm trying to make "email" field optional in cart fields. When i turn on guest mode, it will make "password" field optional and i want to make email like password. So is there any way to use some code in controller/classes (or other files) to make this field optional or hard-code something to make it pre-filled with an email and if customer didn't enter any email, it doesn't show error any use that default email instead? Thanks. Hi, I have the same problem, what can I do? I want to make email optional 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