Phone Validator with Flags for WooCommerce

설명

Phone Validator with Flags for WooCommerce enhances the billing phone field on the checkout page by:

  • Displaying a dropdown with country flags and dial codes.
  • Auto-detecting the default country or letting the customer choose.
  • Validating the phone number format in real-time.
  • Respecting WooCommerce’s “Selling Locations” settings to limit the list of countries.

Ideal for WooCommerce stores targeting international customers who want to ensure clean, valid phone numbers during checkout.

Features

  • 🏳️ Add country flags and dial codes to the checkout phone field.
  • ✅ Validate phone numbers in real-time before submission.
  • 🌍 Supports only countries enabled in WooCommerce Selling Locations.
  • 🔒 GDPR-safe and does not rely on any external APIs.
  • ⚙️ Compatible with High-Performance Order Storage (HPOS).
  • 📦 Lightweight and fully self-contained.
  • 🌐 Translation-ready.

Libraries Used

This plugin includes the following third-party open source library:

  • intl-tel-input – JavaScript international phone input utility.
    Source: https://github.com/jackocnr/intl-tel-input
    License: MIT

스크린샷

  • Enhanced checkout phone field with country flag.

설치

  1. Upload the plugin folder to the /wp-content/plugins/ directory.
  2. Activate the plugin through the ‘Plugins’ menu in WordPress.
  3. Ensure that WooCommerce is active and “Selling Locations” are configured.
  4. The billing phone field on the checkout page will now display with country flag + validation.

FAQ

Does this plugin send data to third-party services?

No. All assets and logic are fully self-hosted. No external scripts, APIs, or CDNs are used.

Does this plugin work with custom phone fields?

Currently, it only targets the default WooCommerce billing_phone field at checkout.

What if the user enters an invalid phone number?

An alert will appear, and the order will not be submitted until a valid phone number is entered.

Does it support HPOS?

Yes. This plugin officially declares compatibility with WooCommerce High-Performance Order Storage.

후기

2025년 8월 20일 답글 1개
This plugin is excellent and supports all countries. The best part is that I was able to set Saudi Arabia as the default number, so customers don’t have to change the country manually. It saved me time and made the customer experience much smoother. Highly recommended!
2025년 8월 4일 답글 1개
We highly recommend business owners to use this plugin on their website, as it has worked exceptionally well on ours.
2025년 7월 14일 답글 1개
I’ve used this on my WordPress site and I’m genuinely impressed. The design is sleek, the settings are easy to configure, and the overall user experience is top-notch. 👌 It made my workflow so much smoother, and the support team is incredibly responsive and helpful. Highly recommended for anyone looking for a professional and reliable solution. 🔥 thanks to the developers for creating such a powerful tool! ❤️
모든 6 평가 읽기

기여자 & 개발자

“Phone Validator with Flags for WooCommerce”(은)는 오픈 소스 소프트웨어입니다. 다음의 사람들이 이 플러그인에 기여하였습니다.

기여자

“Phone Validator with Flags for WooCommerce”(이)가 2 개 언어로 번역되었습니다. 기여해 주셔서 번역자님께 감사드립니다.

자국어로 “Phone Validator with Flags for WooCommerce”(을)를 번역하세요.

개발에 관심이 있으십니까?

코드 탐색하기는, SVN 저장소를 확인하시거나, 개발 기록RSS로 구독하세요.

변경이력

1.0.0

  • Initial release with flag selector, validation, and WooCommerce integration.

1.1.0

  • Fix some technical issues about the error alert

1.2.0

  • Fix some technical issues