Steffen Posted August 25, 2011 Share Posted August 25, 2011 Hi Whenever my shop sends out e-mails to customers (or myself) it has the shop name in the subject line. How do I change that? I don't want my shop name to appear in the subject. I thought I'd changed it already using Dreamweaver, but apparently not. Any help appreciated! Thanks Link to comment Share on other sites More sharing options...
shokinro Posted August 25, 2011 Share Posted August 25, 2011 you have to change core file /classes/Mail.php Try to find this line $message = new Swift_Message('['.Configuration::get('PS_SHOP_NAME').'] '. $subject); Change it to $message = new Swift_Message($subject); Hope this helps Link to comment Share on other sites More sharing options...
Steffen Posted August 26, 2011 Author Share Posted August 26, 2011 Thank you for your reply. Before I test it out, is there any risks making this change? If it doesn't work I can just change it back like that? :snaps fingers: Sorry for the noob questions Link to comment Share on other sites More sharing options...
shokinro Posted August 26, 2011 Share Posted August 26, 2011 if you have test environment, you test it there. or you can make test order at you product site to see if this works. Link to comment Share on other sites More sharing options...
Netzfischer Posted August 20, 2016 Share Posted August 20, 2016 hello, I can't find this piece of code in the current mail.php. instead I find the following: $subject = '['.Configuration::get('PS_SHOP_NAME', null, null, $id_shop).'] '.$subject; $message = new Swift_Message($subject); but when changing it, I get a 500 error in the frontend after clicking the buy button in the cart. I tried deleting the complete first line, as well as parts of it. nothing worked.. many thanks in advance! Link to comment Share on other sites More sharing options...
Recommended Posts