How to Create a Custom WooCommerce Customer Profile
Have you ever wanted a more advanced WooCommerce customer profile page? Somewhere where you would have all the important information about a customer in a single well-organized place. In the following tutorial, I’m going to show you how to create your own advanced customer profiles for your WooCommerce shop that you can use to store custom customer information that can be always available for you and your team.
Why create WooCommerce customer profile
Your WooCommerce store has a lot of (useful) information about your customer. Unfortunately for us, this information is fragmented through your WordPress setup in form of purchasing info, personal information, customer’s activity etc. In addition to this, there is also a lot of customer details that you and your staff know about some customers. Having one place where all this comprehensive and neatly organised customer information is available, can be a huge help to make the running of your business more smoothly. Here are some of the benefits of using custom customer profiles for your online store:
- All the information available in a single page.
- Improved WooCommerce customer management.
- Create and share customer notes.
- Add customer information that is relevant to your store.
- Reduce confusion and errors.
- Better understand your customers.
First, before we start creating our custom WooCommerce customer pages, we need to make sure that we have the Users Insights plugin installed and the WooCommerce module for User Insights activated. You can activate the module from the modules section of the plugin.
Please note that since Users Insights is a WordPress user management plugin, this feature would work only with WooCommerce customers that are registered users on your installation.
The default customer profile
To access the default user profile page of Users Insights all you need to do is to click on the username of a particular user from the user list. This will open the following page:
As you can see right from the start you get a pretty nice customer profile page with a lot of additional customer information compared wit the default WooCommerce my account page. Here are some of the most important parts of the customer profile information that are available by default:
- Personal details like username, names, person avatar
- Customer groups
- Customer location: city, region, and country
- Location is shown on an interactive map
- Customer actions like WooCommerce orders made, as well as Posts, Pages, Comments and Custom Post Types Created
- Customer activity: last seen, number of sessions
There is also the User Activity List section. This is where you can see a grouped lists of some of the content creation activity the customer has made like posts, pages, comments and custom post types. But more importantly, with the WooCommerce module activated, there will be an “Orders” section added to the user activity, where you can see a list of the recent WooCommerce customer order history of each user. Each order has a link to its corresponding WooCommerce order page where you can view and edit the order details. The list also includes a link to the WooCommerce order list page, showing the full list of orders for the selected user only.
Another section that you might notice is the user/customer notes section. This can be a very handy feature as it allows you to add short text notes about the customer. If you want to learn more about the customer note feature please make sure to check the How to create WooCommerce customer notes article.
Adding custom fields to your WooCommerce customer profile
But what if you have some custom customer information that you want to add to your WooCommerce customer profile? This is where the custom user fields functionality of Users Insights comes in handy. The custom user fields section of User Insights plugin allows you to add custom information to your customer profile. This can be a phone number, some kind of status, some important date, organization, nickname, gender, etc.
You can add a new WooCommerce customer custom field from the Custom User Fields section of the Users Insights plugin.
Here you will see a list off all custom fields that you have created (if any), as well as the form to add a new custom field. For our example, let’s just say that I want to add a phone number field for my customer. All I need to do is to is set the Field Name option to “Phone number”, choose a meta key name (in our case, this will be user-meta-phone) and select the type that we want the field to be. Currently, there are two different custom fields types that you can choose from: number and text. We will select the text type and click add. And that’s it, now we have a new WooCommerce customer custom field that is available for us in the profile page of every customer.
Adding and editing information to the custom customer fields
Now that we have the new WooCommerce customer custom field created we can easily add some information that we want to be available in our customer profile sections. To do this, all we need to do is click on the edit icon on the right side of the newly created field. This will turn the text into a text placeholder where we can add or edit the existing information.
Loading existing WooCommerce checkout fields data
Some of your WooCommerce checkout fields are stored as custom user fields. This is useful for us because this means that we can easily load this data into Users Insights. The process is the same we’d do with other custom fields, but this time we need to use the WooCommerce keys.
Once you have these fields mapped you can see them in the customer profile page, use them in your filters, your columns and in your export files.
Search and filter WooCommerce customers by using custom fields data
It is important to note that all this custom information is also available on the Users Insights user table, as well as in the Users Insights smart filters which means that you can search and filter your WooCommerce customers by this information.
You can make the custom fields visible on the user table by clicking on the eye icon and selecting the names of the fields that you want to show. Once you make them visible, you can easily preview the custom fields data of your WooCommerce customers on the user table. You can also sort the table by any of these fields.
Here is an example where we have made the custom fields “Age”, “Phone Number” and “Occupation” visible in the user table, and sorted the user list by the age field:
All the custom WooCommerce customer fields are also available in the Users Insights filters, meaning that you can filter your customer list by any of those fields. For example, you might want to find the list of customers that are older than a specific age, or the ones whose occupation is related with “marketing”. You can do all of this with the help of the Users Insights filters.
Now we know how to filter users based on some of their custom fields. Let’s spice things up with a bit of WooCommerce data as well. There are a lot of WooCommerce-specific columns and filters, that contain WooCommerce account data. For example:
- Customer lifetime value
- Number of orders
- First & Last order date
- Wishlist Products
- Purchased products
- Coupon usage
- Order status
Let’s say you’ve run a campaign for developers, and you want to check out how many devs have used a certain coupon code. You can do that by filtering “has used coupon” and the users’ occupation.
Likewise, you can check out how many customers used that coupon but aren’t developers.
Additionally, it’s possible to use the customer lifetime value to find your inactive but valuable customers. Therefore, if a high-ticket customer hasn’t visited your store for a long time, maybe it’d be nice to reach out to them. This information can be extracted from your WooCommerce user profiles in combination with the last seen filter.
In addition to this, you can easily export your filtered customer list including all the custom fields data in a CSV format. In this way you can use this data for your reports or perhaps create an email campaign where you can import a custom selection of customers, along with the custom fields data that you need.
That’s it! You have successfully created your own custom profile page for your WooCommerce customers. As you can see with our custom WooCommerce profiles, not only that you have the ability to capture and manage far more data about your customers, but all this information can be also easily searchable and accessible via the Users Insights filters. We hope this article helped you improve your customer management and organization.