How can I configure WordPress to allow multiple user registrations with the same phone number and how can I tie additional user profile fields created using ACF to WooCommerce orders?

[ad_1]

By default, WordPress requires unique email addresses and phone numbers for user registration. I’ve come across a plugin that reportedly allows new user registrations with identical email addresses but I’ve yet to come across one for identical phone numbers. The reason I’m looking to do this is for multi-user registrations from employees who are within the same company. Their email addresses will be unique but the (core) phone number will be the same.

To add to this, I’m looking to use ACF to create additional user profile fields, namely phone number extensions and an optional second phone number, to be pulled by WooCommerce when orders are placed. I’ve managed to create the fields and display them in a registration form; the inputted information does get saved in the user profile in the WordPress backend but how do I get WooCommerce to display them within orders like it does with the core user profile fields First Name, Last Name, Address, City, etc.?

I’m okay with inserting a code snippet or two if necessary but I’d prefer to achieve as much of this as possible using plugins.

[ad_2]

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer