Black Friday & Cyber Monday SUPER SALE ALL WEEK:
Grab 40% OFF on plugins
00 Days
00 Hours
00 Minutes
00 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 column added in the Analytics Orders report.

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

The code below will add multiple custom columns to the WooCommerce Analytics Orders report. This will allow store owners to view the payment method and other customer details associated with each order directly in 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 “Payment Method” column is now displayed in the WooCommerce Analytics Orders Report table, allowing you to view the payment methods 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 a “Payment Method” column with the corresponding data for each order.

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

By integrating this column 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


0 Comments
Newest
Oldest
Inline Feedbacks
View all comments
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.