Linux 软件免费装
Banner图

Dialtidy – International Phone Numbers for WooCommerce

开发者 wedoingood
更新时间 2026年11月14日 02:54
PHP版本: 7.4 及以上
WordPress版本: 7.1
版权: GPLv2 or later
版权网址: 版权信息

标签

checkout phone number country code phone validation international phone

下载

1.3.2 1.3.3

详情介绍:

Customers type their phone number the way they are used to, for example (201) 555-0123. Without a country code, you can't tell where that number belongs, and calls, text messages and couriers fail. Dialtidy adds a country picker with flags to the phone field. The country of the address is preselected, the customer can pick another one, and the order gets the number in international format: +12015550123. Features Compatibility More Setup guide, screenshots and how we test: wedoingood.com/plugins/dialtidy. We build WooCommerce plugins as shop owners, from problems we hit in our own shop.

安装:

  1. Install and activate Dialtidy. WooCommerce must be active.
  2. Go to WooCommerce → Dialtidy to choose countries and what happens when a number is not valid.
  3. Open your checkout: the phone field now has a flag.

屏幕截图:

  • Customers can pick another country from a list with flags and search. The countries you choose are at the top.
  • A number that is not valid is explained under the field, before the order is placed.
  • On phones: the phone field, and the country list that opens full screen.
  • Settings: countries for each phone field, countries at the top of the list, and what happens when a number is not valid.
  • The order gets the number in international format.

常见问题:

Where do I find Dialtidy after installing it?

In the admin menu, go to WooCommerce → Dialtidy. You can also click "Settings" under the plugin's name on the Plugins screen.

Which phone fields get a flag?

The billing and shipping phone in the block checkout and the classic checkout, and the billing and shipping address in My account.

How are numbers saved?

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.

What if a customer has a phone number from another country?

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.

Is the phone field required?

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.

What does "Only warn" do?

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.

Does Dialtidy stop orders paid with express payment buttons?

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.

Does it need anything on my server?

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.

Can developers change the messages or which numbers are accepted?

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.

What happens when I delete the plugin?

Its settings are removed. Phone numbers in your orders and customer accounts stay as they are.

How do I report a security issue?

Please email office@wedoingood.com and do not post it in the support forum. We confirm the report, fix it and release an update.

更新日志:

1.3.3 1.3.2