Customising Woocommerce Report

Creating a simple plugin to generate a woocommerce report that suits your need. All woocommerce sites are different, the way they sell are different. Many plugins available are able to generate reports and customise them. Still I get a lot of request on customising reports for woocommerce.

I use the WC_Admin_Report class from woocommerce to accomplish this. With WC_Admin_Report, you organise all your required fields and condition in an array and pass it over. Write the results in a CSV, comma delimited file, using fputcsv and you are done. Throw in some nice jQuery and you get a really slick reporting system.