Looking in all the other files for Email Address Exporter, admin/email_export.php is the only file I think I need to add anything to.
I have added
PHP Code:
$exporter_output .= $FIELDSEPARATOR;
$exporter_output .= $FIELDSTART . "customers_telephone".$FIELDEND;
So it looks like
PHP Code:
// add column headers if CSV or HTML format
if ($format == "CSV" || $format == "HTML") {
$exporter_output .= $LINESTART;
$exporter_output .= $FIELDSTART . "customers_email_address".$FIELDEND;
$exporter_output .= $FIELDSEPARATOR;
$exporter_output .= $FIELDSTART . "customers_firstname".$FIELDEND;
$exporter_output .= $FIELDSEPARATOR;
$exporter_output .= $FIELDSTART . "customers_lastname".$FIELDEND;
$exporter_output .= $FIELDSEPARATOR;
$exporter_output .= $FIELDSTART . "customers_telephone".$FIELDEND;
$exporter_output .= $LINEBREAK;
}
Now I think that should work to export the telephone number BUT it don't. It creates a column but no data.
Is there something else I need to add? where? and I can't find customers address field in the database, only customers_default_address_id? where is the postcode?
Thanks for your reply