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 a “Payment Method” column for each order. 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 a Payment Method column to the WooCommerce Analytics Orders report. This will allow store owners to view the payment method used for 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