Nanuk Posted July 9, 2013 Share Posted July 9, 2013 Hi, I need to add the product id and the product description to the email that PS sent to the admin (me) when an order has been made. I'm using 1.4.6.1, anyone can help? Many many thanks, Andrea Link to comment Share on other sites More sharing options...
tomerg3 Posted July 9, 2013 Share Posted July 9, 2013 You would need to modify /modules/mailalerts/mailalerts.php Look for the function hookNewOrder() you will see that product list is generated there, the variables you are looking for ($product['description'] & $product['id_product']) should already be available there, and you would just need to add them to the string that is sent to the mail ($itemsTable) Link to comment Share on other sites More sharing options...
Recommended Posts