Jump to content

[SOLVED] How to add customer email in the New Order email


Recommended Posts

  • 2 weeks later...

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

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

×
×
  • Create New...