Extending Reports

Posted by: Carl Gottlieb

20th November 2018, 11:00 am

Carl Gottlieb

@carlgottlieb

20 Nov 2018
11:00 am

Hi,

Please can you point me in the right direction for adding detail to the logging/reports? I need to collect more information about the products ordered (e.g. attributes) and the purchasing user. I'm happy to hack around if need be.

Alternatively, any thoughts on having the plugin fully process orders in woocommerce so that all the woocommerce order tracking takes effect?

thanks

  • Developer
    Richard Webster

    @rwebster

    20 Nov 2018
    12:13 pm

    Hi mate there's an action that runs when a download is made, which gets hooked into to record a download. It's "somdn_do_download".

    The exporting is all handled in the somdn-pro-settings-stats.php file for now. In there you'll find a bunch of actions and hooks where you could possibly include more data when exporting.