WooCommerce phone field

Every number, saved clean.

Smart Phone Field adds a country flag dropdown to your checkout and saves every phone number with its country code. Customers type it their way. Your orders, emails, SMS and CRM get +447400123456.

Classic and Block Checkout 34 languages 30-day money-back

Type a phone number to see the results.

Saved as
-
Readable
-
Country
-
Number type
-
Valid for this country
-
Server check (PHP)
-

This is a demo: nothing you type here is saved or stored.

The problem

WooCommerce saves whatever the customer typed.

Spaces, brackets, a leading zero, no country at all. Your SMS tool can't send to that, and your courier can't call it. Smart Phone Field fixes it at the moment of checkout, so you never clean it up later.

Customer is inCustomer typesWooCommerce savesSmart Phone Field saves
United Kingdom07400 12345607400 123456no country+447400123456E.164
United States(201) 555-0123(201) 555-0123brackets+12015550123E.164
Germany0151 2345 67890151 2345 6789trunk 0+4915123456789E.164
France06.12.34.56.7806.12.34.56.78dots+33612345678E.164
Australia0412 345 670412 345 67too shortStopped, asks the customer to fix it

Where it works

One field, everywhere a number is typed.

Pick a screen, then switch the plugin on and off to see what your store would save.

For developers

Use the same field in your own forms.

Themes, plugins and booking forms can call the field and the number check directly. It follows the same countries, location and accent color as checkout.

  • nahnu_spf_field()HTML for a phone field
  • nahnu_spf_check()valid, international, readable, message
  • nahnu_spf_to_international()07400 123456 → +447400123456
  • NahnuSPF.attach()flag dropdown on any input
  • /wp-json/smart-phone-field/v1/checkREST check

Plus 20+ filters, the [smart_phone_field] shortcode and a live [smart_phone_field_demo].

// Render the field
if ( function_exists( 'nahnu_spf_field' ) ) {
    echo nahnu_spf_field( array(
        'name'     => 'phone',
        'required' => true,
    ) );
}

// When saving
$phone = nahnu_spf_to_international(
    sanitize_text_field( wp_unslash( $_POST['phone'] ?? '' ) )
);

Why stores use it

Clean data is the boring part that pays.

SMS and WhatsApp reach the customer

Every number is already in the format messaging tools expect. No scripts that guess a country from an address.

Bad numbers are caught before the order

A short or impossible number shows a clear message next to the field. The same check runs on the server, so it can't be skipped.

Staff read numbers easily

Orders and emails show +1 201-555-0123. The plain number stays stored for other plugins.

Your old numbers get fixed too

The Tools tab previews and converts numbers saved before the plugin. Originals are kept as your backup.

Location detection

The right flag is already selected.

Choose how the visitor's country is found. Works with page caching.

API keys stay on your server. Lookups only check the visitor's own IP, results are cached for a day and rate-limited. When an outside API is on, suggested wording is added to Settings → Privacy.

Pricing

Pay once. Use it on every site.

After the first year the plugin keeps working and keeps getting updates. Only priority support ends.

Limited time offer

Lifetime deal

$29.99one-time payment
  • Unlimited sites
  • Lifetime updates
  • One year of priority support
  • 30-day money-back guarantee
Get Smart Phone Field for $29.99

Secure checkout. License key delivered instantly.

FAQ

Questions stores ask.

Does it work with the WooCommerce Checkout block?

Yes. The block gets the same flag dropdown, number check and country settings. Make sure the Phone field is switched on in the Checkout block. The settings page reminds you if it's off.

Where are the numbers stored?

In WooCommerce's normal billing and shipping phone fields, in plain international format such as +12015550123. Emails, the admin, SMS plugins and your CRM read them as usual.

Does it work with WPML?

Yes. The checkout label is registered in WPML String Translation. The plugin also ships with 34 languages.

Is it compatible with HPOS?

Yes. Compatibility with High-Performance Order Storage is declared.

Can I use it without WooCommerce?

Yes, for the shortcode, the developer API and the form plugin integrations. Checkout features turn on as soon as WooCommerce is active.

What happens after the first year?

Nothing breaks. The plugin keeps working and you keep receiving updates. Priority support ends.

What do I need to run it?

WordPress 7.0 or newer and PHP 8.1 or newer. WooCommerce 8.3 or newer for checkout features.

Support

Ask before you buy, or when something looks off.

Tell us what you're seeing and which screen it's on. A screenshot link helps.

  • Priority support is included for the first year.
  • Pre-sale questions are always welcome.
  • Form plugin integrations are in beta. If one stops working after a form plugin update, tell us which one and we'll update it.
This field is required.
This field is required.
This field is required.
This field is required.

Stop cleaning up phone numbers.

(201) 555-0123 → +12015550123

Save to list

This website uses cookies to enhance your browsing experience and ensure the site functions properly. By continuing to use this site, you acknowledge and accept our use of cookies.

Accept All Accept Required Only