When the administrator updates the order in admin/orders.php, there is the option to send an Order Update email to the customer. This email is rather plain, and I am trying to revise it.
I am trying to include the items purchased, like in the Order Acknowledgement email. The list of items purchased is available in admin/orders.php, as they are displayed onscreen. However, I have not found a way to include that list in the Orders Update email.
I am trying this bit of code (which is similar to the code to display the products onscreen), but it is not working in the email
Code: Select all
for ($i=0, $n=sizeof($order->products); $i<$n; $i++) {
$email .= $order->products[$i]['name'] ;
}
Thanks in advance!
Malcolm