Preciousomonze / woocommerce-phone-validator

Forces validation of woocommerce phone field on checkout and billing address edit page
https://wordpress.org/plugins/woo-phone-validator
GNU General Public License v3.0
20 stars 11 forks source link
hacktoberfest international-phone-validator intltelinput woocommerce-phone-validation wordpress wordpress-plugin

Phone Validator for WooCommerce

Author: Preciousomonze

Contributors: Helgatheviking πŸ€ΎπŸ»β€β™€οΈ

Donate link: I do not mind a token for ordering Pancakes πŸ₯ž, so you can Drop something for your boy πŸ€“ πŸ₯³

Tags: woocommerce, preciousomonze plugin, phone validator, intlTelInput, woocommerce phone validator

Requires at least: 5.0

Tested up to: 5.4

Requires PHP: 5.6

Stable tag: 1.2.1

License: GPLv3 or later

License URI: http://www.gnu.org/licenses/gpl-3.0.html

Description

Phone Validator for WooCommerce is a plugin which helps in validating international telephone numbers for WooCommerce. It adds a flag dropdown to the Billing phone number field which allows your site users to choose their country base and validate a phone number accordingly on the checkout page and Billing Account edit page of WooCommerce. It forces users to enter a valid phone number before being able to checkout or update their Billing details.

This plugin is based on https://intl-tel-input.com/ developed by Jack O'Connor.

Suggestions / Feature Request

If you have suggestions or a new feature request, feel free to get in touch with me via twitter. follow me on Twitter! @preciousomonze

Installation

Automatic Installation

Manual Installation

  1. Download the plugin zip file in the repository or click here
  2. Login to your WordPress Admin. Click on "Plugins > Add New" from the left hand menu.
  3. Click on the "Upload" option, then click "Choose File" to select the zip file from your computer. Once selected, press "OK" and press the "Install Now" button.
  4. Activate the plugin. 🀧 that's all.

Frequently Asked Questions

What do I need to use the plugin?

  1. You need to have WooCommerce plugin installed and activated on your WordPress site.

Do you have a sample of using your filter hooks to customize the plugin? πŸ‘€πŸ₯Ά

Sure fam! I like to ease things for people. πŸ’†πŸ½β€β™‚οΈ check out the list of hooks and sample usage, click here.

I noticed some issues, how can i report it?

Awwwwn 😊, sorry about that, you can submit an issue by clicking here.

Can I contribute to the codes of this plugin?

Yes you can, check out the github repo here.

Changelog

1.0.0 - 12/07/2019

Screenshots

1. Woocommerce billing phone field includes a flag

Screenshot 1

2. Error shown to user when an invalid phone number is submitted on checkout

Screenshot 2

3. Error shown to user when an invalid phone number is submitted on the billing address edit page

Screenshot 3