Black Friday & Cyber Monday SUPER SALE ALL WEEK:
Grab 40% OFF on plugins
Days
Hours
Minutes
Seconds

How to Add a New Column in WooCommerce Analytics > Orders Table ?

Enhancing analytics reports with custom columns can provide store owners with deeper insights into their data. In this guide, we’ll walk you through the process of extending the WooCommerce Analytics Orders table to include additional columns such as  Payment Method, customer Email, customer Phone,  and customer Address column to the analytics order table.This feature is an extension of our previous tutorial where we added a “payment method” column to the WooCommerce Orders list.

Based on user feedback, there was a demand to implement this functionality within the Analytics Orders report in the WooCommerce admin. To address this, we’ve developed a custom plugin, which you can download from our github repository. After downloading and activating the plugin, you’re ready to see the new custom columns added to the Analytics Orders report.

Solution: Add a New Column in WooCommerce Analytics > Orders Table

The code below adds multiple custom columns to the WooCommerce Analytics Orders report, allowing store owners to view the payment method and other customer details associated with each order directly within the Analytics section.We will modify the WooCommerce Admin plugin, extend the orders data, and ensure the payment method is included in the CSV export.

Output

The custom columns is now displayed in the WooCommerce Analytics Orders Report table, allowing you to view the payment methods and other customer details used for each order directly within the dashboard. Navigate to Analytics >Orders where you can see the new custom column added.

How to Add a New Column in WooCommerce Analytics > Orders Table ? - Tyche Softwares
How to Add a New Column in WooCommerce Analytics > Orders Table ? - Tyche Softwares

When exporting the orders report, the CSV file includes multiple custom columns such as “Payment Method” column and other custom details related columns with the corresponding data for each order.

How to Add a New Column in WooCommerce Analytics > Orders Table ? - Tyche Softwares

By integrating these columns into both the admin interface and exported CSV files, you can streamline payment tracking, simplify data analysis, and make informed business decisions more effectively.

You can download the entire plugin file from this github repository. If you have any questions or doubts, please let us know in the comments.

Browse more in: Code Snippets, WooCommerce How Tos, WooCommerce Tutorials

Share It:

Subscribe
Notify of
4 Comments
Newest
Oldest
Inline Feedbacks
View all comments
8 days ago

Hi Saranya, This is an excellent help to add more data to the order report. How can we add other data like “Phone, Email, and customer address” to this report table

Mohammed
2 months ago

This was incredibly helpful! Thank you so much for sharing this.

4
0
Would love your thoughts, please comment.x
()
x
Privacy Overview

This website uses cookies so that we can provide you with the best user experience possible.

Cookie information is stored in your browser and performs functions such as recognising you when you return to our website and helping our team to understand which sections of the website you find most interesting and useful.

By using our site, you acknowledge that you have read and understood our Privacy Policy and Terms & Conditions.