Post by dimitris212 » Tue Jul 02, 2019 4:02 pm

Hello, how can i the email don't Required field in register and checkout form?
Last edited by dimitris212 on Tue Jul 02, 2019 5:40 pm, edited 2 times in total.

Active Member

Posts

Joined
Fri Oct 19, 2012 2:11 am

User avatar
Guru Member

Posts

Joined
Wed Nov 16, 2011 11:53 am
Location - Singapore

Post by dimitris212 » Tue Jul 02, 2019 5:39 pm

Yes, but many customers havent email.
I would like to it dsoen't required from only guest checkout

Active Member

Posts

Joined
Fri Oct 19, 2012 2:11 am

Post by letxobnav » Tue Jul 02, 2019 6:18 pm

have your guest customers fill in a dummy email address or pre-set it yourself with guest@YOUR_DOMAIN.com.

mind you, the customer emails like order confirmation will go nowhere.

Crystal Light Centrum Taiwan
Extensions: MailQueue | SUKHR | VBoces

“Data security is paramount at [...], and we are committed to protecting the privacy of anyone who is associated with our [...]. We’ve made a lot of improvements and will continue to make them.”
When you know your life savings are gone.


User avatar
Expert Member

Posts

Joined
Fri Aug 18, 2017 4:35 pm
Location - Taiwan

Post by paulfeakins » Tue Jul 02, 2019 6:46 pm

dimitris212 wrote:
Tue Jul 02, 2019 5:39 pm
Yes, but many customers havent email.
In 2019 facebook has 2.38 billion active users worldwide, yet many of your customers don't even have email addresses? Where are you finding these people? :laugh:

For quick, professional OpenCart support please email info@antropy.co.uk


User avatar
Guru Member
Online

Posts

Joined
Mon Aug 22, 2011 11:01 pm
Location - Reigate, Surrey, United Kingdom

Post by dimitris212 » Tue Jul 02, 2019 6:51 pm

Maybe 2.38 billion active users worldwide but a worldwide is 7,53 billion. ::) ::)
My customers is carpenters, ironmongers, dressers and this people hasnt email.

Active Member

Posts

Joined
Fri Oct 19, 2012 2:11 am

Post by paulfeakins » Tue Jul 02, 2019 6:56 pm

dimitris212 wrote:
Tue Jul 02, 2019 6:51 pm
Maybe 2.38 billion active users worldwide but a worldwide is 7,53 billion. ::) ::)
Correct but that includes all of Africa etc.

dimitris212 wrote:
Tue Jul 02, 2019 6:51 pm
My customers is carpenters, ironmongers, dressers and this people hasnt email.
Really? How is it possible to live in the civilised world without an email address?

For quick, professional OpenCart support please email info@antropy.co.uk


User avatar
Guru Member
Online

Posts

Joined
Mon Aug 22, 2011 11:01 pm
Location - Reigate, Surrey, United Kingdom

Post by dimitris212 » Tue Jul 02, 2019 7:00 pm

what to do now?
if they do not want to have an email? ??? ???
it may not be required?

Active Member

Posts

Joined
Fri Oct 19, 2012 2:11 am

Post by paulfeakins » Tue Jul 02, 2019 7:11 pm

dimitris212 wrote:
Tue Jul 02, 2019 7:00 pm
what to do now?
if they do not want to have an email? ??? ???
it may not be required?
How will you be able to send them order updates or contact them about their order?

Anyway, you would need to make some modifications to make it possible, if you don't know where to start you should look for an extension or pay a developer from the Commercial Support forum.

For quick, professional OpenCart support please email info@antropy.co.uk


User avatar
Guru Member
Online

Posts

Joined
Mon Aug 22, 2011 11:01 pm
Location - Reigate, Surrey, United Kingdom

Post by dimitris212 » Tue Jul 02, 2019 7:12 pm

Ok thank you!
I try it them but display error the final step check out.

Active Member

Posts

Joined
Fri Oct 19, 2012 2:11 am

Post by paulfeakins » Tue Jul 02, 2019 7:25 pm

dimitris212 wrote:
Tue Jul 02, 2019 7:12 pm
I try it them but display error the final step check out.
You mean an extension? If so what one? And have you contacted the author?

For quick, professional OpenCart support please email info@antropy.co.uk


User avatar
Guru Member
Online

Posts

Joined
Mon Aug 22, 2011 11:01 pm
Location - Reigate, Surrey, United Kingdom

Post by thekrotek » Tue Jul 02, 2019 7:28 pm

Email is required on a lot of sites. This is like entering name/surname nowadays. I'm pretty sure your carpenters have names, so why not have an email as well? And if they don't want to have an email, why do they even want to use internet? This is a really strange behavior...

Professional OpenCart extensions, support and custom work.
Contact me via email or Skype by support@thekrotek.com


User avatar
Expert Member

Posts

Joined
Sun Jul 03, 2016 12:24 am


Post by dimitris212 » Tue Jul 02, 2019 7:35 pm

paulfeakins wrote:
Tue Jul 02, 2019 7:25 pm
dimitris212 wrote:
Tue Jul 02, 2019 7:12 pm
I try it them but display error the final step check out.
You mean an extension? If so what one? And have you contacted the author?
No with extension but i tried with change core file catalog/controller/checkout/guest.php
I delete that lines

Code: Select all

if ((utf8_strlen($this->request->post['email']) > 96) || !filter_var($this->request->post['email'], FILTER_VALIDATE_EMAIL)) {
				$json['error']['email'] = $this->language->get('error_email');
}

Active Member

Posts

Joined
Fri Oct 19, 2012 2:11 am

Post by thekrotek » Tue Jul 02, 2019 7:49 pm

dimitris212 wrote:
Tue Jul 02, 2019 7:35 pm
No with extension but i tried with change core file catalog/controller/checkout/guest.php
I delete that lines

Code: Select all

if ((utf8_strlen($this->request->post['email']) > 96) || !filter_var($this->request->post['email'], FILTER_VALIDATE_EMAIL)) {
				$json['error']['email'] = $this->language->get('error_email');
}
You're not listening. Email is REQUIRED, means a lot of things are based on email, including checkout. If you want to remove email somehow, you need much more complex modification. Apparently you can't do it yourself, so the only option is ask for commercial support, as previously suggested.

Professional OpenCart extensions, support and custom work.
Contact me via email or Skype by support@thekrotek.com


User avatar
Expert Member

Posts

Joined
Sun Jul 03, 2016 12:24 am


Post by dimitris212 » Tue Jul 02, 2019 7:57 pm

Ok thank you from information!

Active Member

Posts

Joined
Fri Oct 19, 2012 2:11 am

Post by paulfeakins » Wed Jul 03, 2019 4:49 pm

thekrotek wrote:
Tue Jul 02, 2019 7:28 pm
And if they don't want to have an email, why do they even want to use internet? This is a really strange behavior...
Agreed.

For quick, professional OpenCart support please email info@antropy.co.uk


User avatar
Guru Member
Online

Posts

Joined
Mon Aug 22, 2011 11:01 pm
Location - Reigate, Surrey, United Kingdom

Post by letxobnav » Wed Jul 03, 2019 6:17 pm

like I said, have them enter a dummy email address and it will work just fine, there is no check if the email address actually exists, only if it is properly formatted like xxx@yyy.zzz.

Crystal Light Centrum Taiwan
Extensions: MailQueue | SUKHR | VBoces

“Data security is paramount at [...], and we are committed to protecting the privacy of anyone who is associated with our [...]. We’ve made a lot of improvements and will continue to make them.”
When you know your life savings are gone.


User avatar
Expert Member

Posts

Joined
Fri Aug 18, 2017 4:35 pm
Location - Taiwan

Post by paulfeakins » Wed Jul 03, 2019 6:21 pm

letxobnav wrote:
Wed Jul 03, 2019 6:17 pm
like I said, have them enter a dummy email address and it will work just fine, there is no check if the email address actually exists, only if it is properly formatted like xxx@yyy.zzz.
Well in that case you could hide the field and make its value to be the admin email address - best not to send sensitive data to a random email address ;)

For quick, professional OpenCart support please email info@antropy.co.uk


User avatar
Guru Member
Online

Posts

Joined
Mon Aug 22, 2011 11:01 pm
Location - Reigate, Surrey, United Kingdom

Post by letxobnav » Wed Jul 03, 2019 6:46 pm

no, you cannot hide or disable the field as there may be customers who do have an email address.

as I said in my first post, have them enter a dummy or pre-fill or post-fill the field with guest@YOUR_DOMAIN.com

pre-fill may be a little confusing for customers who do have their own email address and post-fill requires code adjustment to the email validation code.

Crystal Light Centrum Taiwan
Extensions: MailQueue | SUKHR | VBoces

“Data security is paramount at [...], and we are committed to protecting the privacy of anyone who is associated with our [...]. We’ve made a lot of improvements and will continue to make them.”
When you know your life savings are gone.


User avatar
Expert Member

Posts

Joined
Fri Aug 18, 2017 4:35 pm
Location - Taiwan

Post by paulfeakins » Wed Jul 03, 2019 6:53 pm

letxobnav wrote:
Wed Jul 03, 2019 6:46 pm
no, you cannot hide or disable the field as there may be customers who do have an email address.

as I said in my first post, have them enter a dummy or pre-fill or post-fill the field with guest@YOUR_DOMAIN.com

pre-fill may be a little confusing for customers who do have their own email address and post-fill requires code adjustment to the email validation code.
Good point.

For quick, professional OpenCart support please email info@antropy.co.uk


User avatar
Guru Member
Online

Posts

Joined
Mon Aug 22, 2011 11:01 pm
Location - Reigate, Surrey, United Kingdom
Who is online

Users browsing this forum: cableintel, paulfeakins and 29 guests