[SOLVED] how to add a custom field to the report?
-
I tried to modify class-alg-export-fields-helper.php
to add a custom field: billing_codice_rivenditaBut i get this error during the export:
Fatal error: Uncaught Error: Call to undefined method WC_Order::get_billing_codice_rivendita() in alg-wc-export-functions.php:47
is there a way to add custom WC fields to the report?
SOLVED:
logic how to return value for the custom field must be added to
class-alg-exporter-customers.php
class-alg-exporter-orders.phpFEATURE REQUEST:
it would be nice that you could use standard filters
to get the list of billing/shipping fields from WC
so that we don’t have to patch the plugin code to generate the export
- The topic ‘[SOLVED] how to add a custom field to the report?’ is closed to new replies.