| 开发者 | wedoingood |
|---|---|
| 更新时间 | 2026年11月14日 02:54 |
| PHP版本: | 7.4 及以上 |
| WordPress版本: | 7.1 |
| 版权: | GPLv2 or later |
| 版权网址: | 版权信息 |
In the admin menu, go to WooCommerce → Dialtidy. You can also click "Settings" under the plugin's name on the Plugins screen.
The billing and shipping phone in the block checkout and the classic checkout, and the billing and shipping address in My account.
In international format with the country code, for example +12015550123, even when the customer typed (201) 555-0123. On the order screen it is shown with spaces, for example +1 201-555-0123; the saved number stays the same. Numbers that are already in your orders are not changed.
The customer picks that country in the list, or types the number with + and the country code. You can limit which countries each phone field accepts under WooCommerce → Dialtidy.
Dialtidy follows the WooCommerce setting, and an empty optional phone is never blocked. To change the setting, edit the Checkout page and select the Checkout block: the phone field option is in the block settings. With the classic checkout, it is under Appearance → Customize → WooCommerce → Checkout.
The customer sees a hint under the field but can still place the order. The number is saved in international format when it is valid, and as typed when it is not.
No. With express payment buttons (digital wallets), the phone comes from the customer's wallet, not from the phone field. Dialtidy saves it in international format when it can and does not stop such an order. Payment plugins that mark express payments the common way are recognized; developers can mark other payment flows with the dialtidy_is_express_payment filter.
WordPress 6.6, WooCommerce 9.6 and PHP 7.4 or newer. Full number rules need PHP's mbstring extension, which almost every host has. Without it, Dialtidy checks the length of the number and adds the address's country code to numbers typed without one; your country lists still apply, and a country code shared by several countries (such as +1 or +7) counts as any of them.
Yes, with filters: dialtidy_message (the message for a number that is not accepted), dialtidy_allowed_types (for example mobile numbers only), dialtidy_script_config (messages in the browser and spaces while typing), dialtidy_display_phone (how a number is shown on the order screen) and dialtidy_is_express_payment.
Its settings are removed. Phone numbers in your orders and customer accounts stay as they are.
Please email office@wedoingood.com and do not post it in the support forum. We confirm the report, fix it and release an update.