fitgura Posted September 29, 2010 Share Posted September 29, 2010 Hi all!I just configured all the mails in our taste and I want to send a different logo on the header and not the "{shop_logo}" The usual code in the mails I try to use this Of course the mail-logo.jpg is in the same directory as the *mail.html but the system don't send the picturemaybe this is a really basic question but I don't know what could be the problem...please help me ps 1.3.1 Link to comment Share on other sites More sharing options...
fitgura Posted September 29, 2010 Author Share Posted September 29, 2010 please somebody help me... Link to comment Share on other sites More sharing options...
rocky Posted September 29, 2010 Share Posted September 29, 2010 In PrestaShop v1.3.1, you will need to put mail-logo.jpg in the img directory, then change line 94 of classes/Mail.php from: $templateVars['{shop_logo}'] = (file_exists(_PS_IMG_DIR_.'logo.jpg')) ? $message->attach(new Swift_Message_Image(new Swift_File(_PS_IMG_DIR_.'logo.jpg'))) : ''; to: $templateVars['{shop_logo}'] = (file_exists(_PS_IMG_DIR_.'mail-logo.jpg')) ? $message->attach(new Swift_Message_Image(new Swift_File(_PS_IMG_DIR_.'logo.jpg'))) : ''; PrestaShop v1.4 lets you upload a different logo for the website and emails from the Back Office. Link to comment Share on other sites More sharing options...
fitgura Posted September 29, 2010 Author Share Posted September 29, 2010 Thanks so much rocky i'll try it 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