In need of a bit of help with this addon to make the download csv button show more information.
I have the table headings set up, which I believe was the easy bit, and can produce the table in the layout that I need to be able to bulk upload orders to a courier. I am having trouble getting it to show additional information such as customers_email_address and customers_telephone which are all available in the orders table.
I am assuming that its this bit that needs some form of editting. I am sure once I see how one bit of information is done, I will get the rest.
Code: Select all
$content[] = [$key,
$order->delivery['name'],
$order->delivery['street_address'],
$order->delivery['suburb'],
$order->delivery['city'],
$order->delivery['state'],
$order->delivery['postcode'],
$applied_weight,
$order->info['shipping_method']];
}
Can someone give a bit of guidance please as to how to get the information from the orders table to show in the CSV file that is generated.