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.
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.
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.
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
Hi Manish,
We’ve updated the plugin based on your request. The order report table now includes additional custom columns such as phone, email, and address in the WooCommerce Analytics Orders table. You can check out the updated blog post for the latest instructions and screenshots reflecting these changes.
This was incredibly helpful! Thank you so much for sharing this.
Hi Mohammed,
Glad you found it helpful! If you have any other questions, feel free to ask.