mowax Posted September 29, 2011 Share Posted September 29, 2011 Hi, I'm trying to do something really straight forward but for some reason its not working. I'm trying to add the order number into the subject field of the e-mail I receive when an order is placed. You would think that you would just add {order_name} to the title tag in the php file in modules/mailalerts/mails/en, but its not showing. Does anyone know how to change this? I need to know because without a unique email subject, gmail groups all emails with the same subject into groups, which is annoying. Thanks for any replies Link to comment Share on other sites More sharing options...
senior426 Posted September 29, 2011 Share Posted September 29, 2011 mailalerts.php line 188 $subject = $this->l('New order', $id_lang); replaced by $subject = $this->l('Order - ' . sprintf("%06d", $order->id) . ' - ' . $customer->firstname . ' ' . $customer->lastname. ' ' .$delivery->city); 3 Link to comment Share on other sites More sharing options...
mowax Posted October 5, 2011 Author Share Posted October 5, 2011 Thanks a lot, works great! Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now