Jump to content

Remove logo from emails / mailalerts


Recommended Posts

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

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

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

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

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'))) : ''); */

  • Like 1
Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...