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 a page that can look like this:
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, the following field types are supported: text, number, dropdown and date(read only). We will select the text type and click add. And that’s it, now we have a new customer custom field that is available for us in the WooCommerce account page of Users Insights 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.
Depending on the type of field, there will be a different field input. For example, for numeric fields there will be a number input and for dropdown fields, you will see a select dropdown with all of the predefined options:
Loading existing WooCommerce checkout fields data
Some of your WooCommerce checkout fields are stored as custom user meta 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, and/or the ones whose occupation is related with management. 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. You can even further segment the user list by the ordered products.
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.
Organizing the WooCommerce customer profile fields
With Users Insights, you can quickly filter your WooCommerce clients. In addition, you get to edit your user’s custom fields and customize how information is organized in your user profile.
This all is done with the Profile Settings option in the user profiles. To enable profile settings edit mode, just click on the Profile Settings button in the top right corner:
Profile field groups
Once the settings edit is activated you get a whole new set of options. For instance, you can add groups for your custom fields. This helps you greatly when it comes to the custom fields organization. In particular, if you have a lot of fields coming from different plugins.
You can add new sections using the “Add section title” option, beneath your custom fields:
After WooCommerce customer fields group is added, you can move it around using the arrows button, which acts as a drag and drop handle. This is a quick way to move it until it is where you want it to be.
Reordering and hiding fields
Then, another great addition is moving around your custom user fields as well. The same way you can move your groups, you can move fields to find an order that works for you.
Although it is helpful to have a lot of custom fields, sometimes we just want the main information. That’s when a great WooCommerce customer details page can shine. With profile settings, you can hide some of the custom fields, thus you can achieve your desired organization.
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.