WooCommerce Email Validation Plugin
Adds a 'confirm email address' field to the WooCommerce checkout page.
“WooCommerce Email Validation” is an extension for WooCommerce that adds a ‘confirm email address’ field to the checkout page as a required field. This will ensure that your customers will enter a correct email address, making managing your orders far easier and more reliable. If a customer’s email address does not match up then they will receive a standard validation error on the checkout page informing them that they need to make sure that their email addresses are the same.
This extension is WooCommerce 3.x compatible and supports localisation using WPML. It has built-in translations for English, German, Spanish, Dutch, Swedish, Japanese, Polish, Brazilian Portuguese, Hungarian and Serbian.
Want to contribute? Fork the GitHub repository.
Usage
Simply upload the plugin and you’re good to go. There are no options to configure – the extension just works.
Installation
Installing “WooCommerce Email Validation” can be done either by searching for “WooCommerce Email Validation” via the “Plugins > Add New” screen in your WordPress dashboard, or by using the following steps:
- Download the plugin via WordPress.org
- Upload the ZIP file through the ‘Plugins > Add New > Upload’ screen in your WordPress dashboard
- Activate the plugin through the ‘Plugins’ menu in WordPress
Screenshots
The 'Confirm Email Address' field as it is displayed in the Storefront theme.
FAQ
How do I reorder the checkout fields?
This plugin adds the email confirmation to the checkout fields right after the existing ‘Email Address’ field. If you would like to rearrange the checkout fields, then you are able to do so very easily by using the snippet provided here. The label/ID of the email confirmation field is billing_email-2
(note that there is a hyphen before the 2
and not an underscore).
This plugin doesn’t work with the Checkout Field Editor extension – what gives?
If you are using Checkout Field Editor then you need to manually specify the second email address field in that extension’s settings in order for the field to be displayed. The field ID that you must specify is billing_email-2
(note that there is a hyphen before the 2
and not an underscore).
Changelog
2.1.1
- 2018-11-26
- [UPDATE] Adding WooCommerce 3.5+ compatibility (props heocoi)
2.1
- 2017-04-21
- [UPDATE] Adding WooCommerce 3.0+ compatibility (props ablears)
- [UPDATE] Ensuring backwards compatilibity for versions of WooCommerce prior to 3.0
- [UPDATE] Adding
woocommerce_original_email_field_class
filter for modifying layout of fields on the fly
2.0
- 2016-05-09
- [UPDATE] Moving ‘Confirm Email Address’ field to the correct location on the checkout form
- [UPDATE] Modifying text domain to match plugin slug (required for centralised localisation)
- [TWEAK] Changing filter on which new field is added to make things more streamlined
1.2.8
- 2015-05-28
- [UPDATE] Adding Serbian translation (translation provided by Nebojsa Dolas)
1.2.7
- 2015-02-16
- [UPDATE] Adding Hungarian translation (translation provided by Kornel Schwarcz)
- [FIX] Adding WooCommerce 2.3.x compatibility
1.2.6
- 2015-01-21
- [UPDATE] Adding Brazilian Portuguese translation (translation provided by Samuel Costa)
1.2.5
- 2014-12-11
- [UPDATE] Adding Polish translation (translation provided by Michał Dybczak)
1.2.4
- 2014-10-13
- [UPDATE] Adding ‘woocommerce_confirm_email_field_class’ filter so field class can be changed dynamically
- [UPDATE] Adding Japanese translation (translation provided by Mako Kobayashi)
- [FIX] Adding billing email address as default field value for WooCommerce 2.2+
1.2.3
- 2014-09-05
- [UPDATE] Adding Swedish translation (translation provided by Mari Lindström)
1.2.2
- 2013-10-27
- [UPDATE] Adding Dutch translation (translation provided by Bryan Touw)
1.2.1
- 2013-07-12
- [UPDATE] Adding Spanish translation (translation provided by Marcelo Pedra)
1.2
- 2013-07-11
- [UPDATE] Adding German translation (translation provided by Dietmar Hohn)
1.1
- 2013-05-24
- [FIX] Fixing validation to be case-insensitive
1.0
- 2013-02-18
- Initial release #boom