Prodi Posted October 3, 2010 Share Posted October 3, 2010 Hi ... I will like to add customer e-mail in the new order e-mail ...can some one help ? Link to comment Share on other sites More sharing options...
rocky Posted October 3, 2010 Share Posted October 3, 2010 Just add {email} to modules/mailalerts/mails//new_order.html and new_order.txt wherever you want the customer's email address displayed. Link to comment Share on other sites More sharing options...
mowax Posted October 12, 2010 Share Posted October 12, 2010 Hi Rocky, I've been trying to add the customer's company name to the new order alert. I've tried adding {company} and also {delivery_company} and {invoice_company} to both the .html and .txt files, but it doesn't pull the information. I still have to go to the BO for each order to see if there is a company name in the address. Any advice on how to add this information?Thanks for any replies Link to comment Share on other sites More sharing options...
rocky Posted October 12, 2010 Share Posted October 12, 2010 That's strange, {delivery_company} and {invoice_company} should work. I just checked and found this on line 140 of modules/mailalerts/mailalerts.php in PrestaShop v1.3.2: '{delivery_company}' => $delivery->company, and on line 151: '{invoice_company}' => $invoice->company, Do you have these lines? Link to comment Share on other sites More sharing options...
mowax Posted October 12, 2010 Share Posted October 12, 2010 Ah, I am using Prestashop v1.1, and my mailalerts.php doesn't have those lines. I will add them and try again... Link to comment Share on other sites More sharing options...
mowax Posted October 12, 2010 Share Posted October 12, 2010 Ok I added them, it should work now. Just need another order before I can see if it works, but I think that did the trick. Thanks a lot Rocky. Link to comment Share on other sites More sharing options...
Recommended Posts