Jump to content

Make Email field optional in cart


Amin Vatandoust

Recommended Posts

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

  • 3 weeks later...
  • 5 weeks later...
  • 3 years later...

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

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