Hi,
Opencart version 2.3.0.2.
We recently had a user submit an order with a mistake in their email address: name@domain,com with a comma instead of a period before com. Is there any way to validate the format of the email address before it is submitted?
Thanks
Linda
Opencart version 2.3.0.2.
We recently had a user submit an order with a mistake in their email address: name@domain,com with a comma instead of a period before com. Is there any way to validate the format of the email address before it is submitted?
Thanks
Linda
Not in default OpenCart. If you only want to validate emails, you can create a simple modification using filter_var() PHP function. For more complex validation process you might search the Marketplace.
Professional OpenCart extensions, support and custom work.
Contact me via email or Skype by support@thekrotek.com
This customer input their registration as part of the checkout.
I'm using journal2 quick checkout. Could it be their code that isn't doing the validation?
Linda
I'm using journal2 quick checkout. Could it be their code that isn't doing the validation?
Linda
In catalog/controller/checkout/register.php and guest.php file, there's a validation process with the email structure that should be integrated already. If not, on more OC versions, this option is available. You can also try alternate ways to validate new emails upon registration process by downloading an extension from the Marketplace.gossamerLL wrote: ↑Sat Aug 17, 2019 4:07 amThis customer input their registration as part of the checkout.
I'm using journal2 quick checkout. Could it be their code that isn't doing the validation?
Linda
In addition, since you're using Journal 2. Journal version has increased to its 3rd release. See by contacting their support staff if the enquiry you are reporting about can be solved by using their extension.
Dedication and passion goes to those who are able to push and merge a project.
Regards,
Straightlight
Programmer / Opencart Tester
Who is online
Users browsing this forum: No registered users and 2 guests