這個外掛並未在最新的 3 個 WordPress 主要版本上進行測試。開發者可能不再對這個外掛進行維護或提供技術支援,並可能會與更新版本的 WordPress 產生使用上的相容性問題。

WooCommerce Email Validation

外掛說明

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

螢幕擷圖

  • The 'Confirm Email Address' field as it is displayed in the Storefront theme.

安裝方式

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:

  1. Download the plugin via WordPress.org
  2. Upload the ZIP file through the ‘Plugins > Add New > Upload’ screen in your WordPress dashboard
  3. Activate the plugin through the ‘Plugins’ menu in WordPress

常見問題集

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

使用者評論

2017 年 5 月 16 日
I edited the WooCommerce checkout fields using my theme's functions.php file. I added this plugin for email verification, and edited it very slightly. It works a charm! thanks.
2017 年 4 月 16 日
It's not compatible with wordpress version 4.7.3 and woocommerce 3...Keep Giving the error "Email addresses do not match!" in checkout page. Needs to be released a new update.
2016 年 9 月 3 日
Does the job in an instance.
2016 年 9 月 3 日
No frills, does as needed. Real-time validation would be nice but maybe not worth the overhead. Should really be core.
閱讀全部 19 則使用者評論

參與者及開發者

以下人員參與了開源軟體〈WooCommerce Email Validation〉的開發相關工作。

參與者

WooCommerce Email Validation 外掛目前已有 7 個本地化語言版本。 感謝全部譯者為這個外掛做出的貢獻。

將〈WooCommerce Email Validation〉外掛本地化為台灣繁體中文版

對開發相關資訊感興趣?

任何人均可瀏覽程式碼、查看 SVN 存放庫,或透過 RSS 訂閱開發記錄

變更記錄

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