HI,
I am trying to code in an additional link on the orders listing page to email a customer.
Everything so far is working fine, I have produced the mailto coding which includes a set subject and signature for the message and have included the order ID and various other things in.
Unfortunately I am struggling to draw the customers email address from the database in order to send the email (obviously a major flaw!)
I have attempted the following so far with no luck:
$customers->fields['customers_email_address']
$orders->fields['customers_email_address']
$orders->fields['orders_id']
$order->customer['email_address']
I feel it should be obvious but I'm not managing it.
Any help would be much appreciated!
Thanks
Sam
Bookmarks