lostrisq Posted July 12, 2012 Share Posted July 12, 2012 How do I remove the logo from the mailalerts? if i remove it from mails/language/new_order.html it comes as an attachment. removing the <img> from mailalerts.php doesn't do it either. And where is {delivery_block_html} styled/taken from? In my mail the name turns out pink, whereas in the shop when proceeding through checkout it is red and blue. Hope someone can help me out! Link to comment Share on other sites More sharing options...
tdr170 Posted July 12, 2012 Share Posted July 12, 2012 There are separate mail folders for mail alerts and standard mail, in the root folder you will see a mails folder look in your language and you will see both html and txt versions of mails. To change the color you will need to edit the html files and change the colors. example - background-color:#DB3484 (pink background) background-color:#0000c0 (blue background) To remove the logos you will delete this src="{shop_logo}" from the href at the top of mails. Link to comment Share on other sites More sharing options...
safa Posted July 12, 2012 Share Posted July 12, 2012 hi; i find in this class classes/mail.php $message->attach(new Swift_Message_Image(new Swift_File(_PS_IMG_DIR_.'logo_mail.jpg'))) : ((file_exists(_PS_IMG_DIR_.'logo.jpg') $message->attach(new Swift_Message_Image(new Swift_File(_PS_IMG_DIR_.'logo.jpg'))) : ''); i think if you delete this line . shop logo not comes as an attachment.. best regards Link to comment Share on other sites More sharing options...
safa Posted July 12, 2012 Share Posted July 12, 2012 There are separate mail folders for mail alerts and standard mail, in the root folder you will see a mails folder look in your language and you will see both html and txt versions of mails. To change the color you will need to edit the html files and change the colors. example - background-color:#DB3484 (pink background) background-color:#0000c0 (blue background) To remove the logos you will delete this src="{shop_logo}" from the href at the top of mails. hi friend if delete src="{shop_logo}" shop logo visable on e-mail. but logo comes as an attachment. best regards Link to comment Share on other sites More sharing options...
tdr170 Posted July 12, 2012 Share Posted July 12, 2012 Try this is the mail.php file located in classes comment out the two lines below. (lines 181 & 182) note I added the /* */ to comment out these lines /* $message->attach(new Swift_Message_Image(new Swift_File(_PS_IMG_DIR_.'logo_mail.jpg'))) : ((file_exists(_PS_IMG_DIR_.'logo.jpg')) ? */ /* $message->attach(new Swift_Message_Image(new Swift_File(_PS_IMG_DIR_.'logo.jpg'))) : ''); */ 1 Link to comment Share on other sites More sharing options...
lostrisq Posted July 19, 2012 Author Share Posted July 19, 2012 That's it! Thanks heaps guys! Link to comment Share on other sites More sharing options...
safa Posted July 19, 2012 Share Posted July 19, 2012 That's it! Thanks heaps guys! you're welcome.. please chance topic title [sOLVED] Best regards 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