Include the customer name and address for a more complete order email.
For a number of years my client has been asking me to add the customer address to the order alert email. The default email lists the order ID/date/status and the products but no information about the customer.
I have been a big fan of vQmod, the virtual file modification feature, since early 2011. It was eventually added to the core OpenCart source. The MVC (Model-View-Controller) architecture that OpenCart uses is quite foreign to me – no other software that I use uses it. As a result I find it quite difficult to make non-trivial changes to OpenCart.
A few weeks ago I decided to have a quick search to see if anyone had added the customer address to the order email and found a thread ofn an OpenCart forum asking about Adding Customer Name to Admin Alert mail for new order. Bingo! A reply by opencart-solutions detailed the changes to make so I have converted them into a vQmod XML file.
That was only the name
The opencart-solutions reply only added the customer name so I browsed through other replies on the thread to find out how to access the customer address and added those to the XML file.