Jump to content

Adding Id Product and Description to order email


Recommended Posts

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

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

×
×
  • Create New...