marky96 Posted November 23, 2011 Share Posted November 23, 2011 How can I change the email template contents, like order confirmation to include some custom text with links to our terms and a personal signature? 1 Link to comment Share on other sites More sharing options...
Mike Kranzler Posted November 23, 2011 Share Posted November 23, 2011 Hi marky, You can do this easily in your Back Office under Tools > Translations > Modify Translations > Email template translations. I hope this helps. -Mike 9 Link to comment Share on other sites More sharing options...
maconl Posted November 23, 2011 Share Posted November 23, 2011 hi , and to change the templates Look for the folder Mails your server-> Prestashop - > Mails in these folder you find all the emails 3 Link to comment Share on other sites More sharing options...
marky96 Posted November 23, 2011 Author Share Posted November 23, 2011 Can I use HTML in those text files on the server? Link to comment Share on other sites More sharing options...
Mike Kranzler Posted November 23, 2011 Share Posted November 23, 2011 Can I use HTML in those text files on the server? Hi marky, You can do that all through the area in the Back Office I mentioned above: Please let me know if this works for you. -Mike 4 Link to comment Share on other sites More sharing options...
marky96 Posted November 23, 2011 Author Share Posted November 23, 2011 thanks I found it and changed them already!! Link to comment Share on other sites More sharing options...
Mike Kranzler Posted November 23, 2011 Share Posted November 23, 2011 Great, I'm glad I could help! I'll go ahead and mark this as solved for you. -Mike 1 Link to comment Share on other sites More sharing options...
RCP90 Posted May 7, 2013 Share Posted May 7, 2013 (edited) Hello, Sorry to bump an old post, but has this changed?. in 1.5.4.1 I cannot seem to edit the email template using the same method. Forgive me, it does work the same in backoffice. Edited May 7, 2013 by RCP90 (see edit history) Link to comment Share on other sites More sharing options...
edoluz Posted August 24, 2013 Share Posted August 24, 2013 Hello everybody. I've a problem: I use only 1 language (Italian) and so after some time I decided to delete the other languages (too many rows duplicated in the db). My website is working and sending mails to customers with no problems. I'M USING PRESTASHOP 1.4.8.2 (soon I'll update). I'd like now to change some mail templates... but when I enter in back office I get the error here below (also screen attached): "mail file not found in the folder public_html/shop/mails/en"... but the file does exist! And why it's looking for the "en" folder while I'm using the "IT" language? Should I edit anything in the db? Thank you for your help! Edo Link to comment Share on other sites More sharing options...
ricky11 Posted January 14, 2014 Share Posted January 14, 2014 Anyway to use Mailchimp instead of using the built in template in prestashop? not for mass emails but password reminders etc. Link to comment Share on other sites More sharing options...
enovo Posted February 20, 2014 Share Posted February 20, 2014 hello, I developed a payment module and I want send mails notification with different mail templates, but I have not been able to do in any way, any ideas, someone can help me? I want to use different templates for different emails shipments. Link to comment Share on other sites More sharing options...
Copa85 Posted May 24, 2014 Share Posted May 24, 2014 I went into "email template" translations and edited my template... but whenever I click save, I get this error Cannot write language file for email subjects. Path is: /home/copa85/public_html/themes/default/mails/en/lang.php (This is an error with the file on my godaddy hosting ftp files I think) But why won't it save, any suggestions? Thanks Link to comment Share on other sites More sharing options...
vekia Posted May 24, 2014 Share Posted May 24, 2014 it's probably due to the permissions or file just doesnt exist and script cant create it. verify it please, firstly check if this file exists - if so, check permissions. if not - create it and grant correct permissions for this file Link to comment Share on other sites More sharing options...
Copa85 Posted May 24, 2014 Share Posted May 24, 2014 it's probably due to the permissions or file just doesnt exist and script cant create it. verify it please, firstly check if this file exists - if so, check permissions. if not - create it and grant correct permissions for this file I checked to see if I had that file, and the furthest I got was the "default" folder, there was no "mails" folder in my ftp file manager. If I do create these files, what would I put in them? Thanks Link to comment Share on other sites More sharing options...
Copa85 Posted May 24, 2014 Share Posted May 24, 2014 Ok nevermind, I found the file. It's just looking in the wrong place, how would I tell prestashop to look in a different folder? Or should I move the "mails" folder into the "default" folder? Link to comment Share on other sites More sharing options...
vekia Posted May 25, 2014 Share Posted May 25, 2014 if you use default theme, all mail files should be located there. Link to comment Share on other sites More sharing options...
fronsac Posted October 15, 2014 Share Posted October 15, 2014 is it possible to change E mail template for PS 1.6. I would like to take out tax and shipping cost from template but I could not do it. I changed all mails folders, but no success. translation works not too can any one help me Link to comment Share on other sites More sharing options...
abhiz.2007 Posted October 28, 2014 Share Posted October 28, 2014 (edited) Hi marky, You can do that all through the area in the Back Office I mentioned above: Email_HTML.png Please let me know if this works for you. -Mike hey followed your approach was able to change the the desired. my requirement is that i want to change the footer of the email accross all the mails that is sent. there are 50 plus email templates in out of the box prestashop. how can i change the footer for all of them at once. Edited October 28, 2014 by abhiz.2007 (see edit history) Link to comment Share on other sites More sharing options...
abhiz.2007 Posted November 2, 2014 Share Posted November 2, 2014 hi , and to change the templates Look for the folder Mails your server-> Prestashop - > Mails in these folder you find all the emails Hey Unable to change the email footer. as instructed i changes all the files of email template with my custom text n links. but the emails have not been updated, i have tried clearing cache, recompiling templates the email only updates if i change it via prestashop back office feature under translation tab. its a manual and time taking process to cahnge it this way. where am i going wrong ? http://abhishekproducts.in/http://abhishekproducts.in/ Link to comment Share on other sites More sharing options...
maconl Posted November 2, 2014 Share Posted November 2, 2014 (edited) Hey Unable to change the email footer. as instructed i changes all the files of email template with my custom text n links. but the emails have not been updated, i have tried clearing cache, recompiling templates the email only updates if i change it via prestashop back office feature under translation tab. its a manual and time taking process to cahnge it this way. where am i going wrong ? http://abhishekproducts.in/http://abhishekproducts.in/ Hi Have you downloaded the folder mails to your computer ? did change all the email's from your language ? after you did rename on your hosting the folder mails into --mails (this is just in case you can go back when it went wrong) then upload the ""new""folder mails to your hosting then it must work but remember it depends what kind mails you want to change there are a many of them also in some modules etc Edited November 2, 2014 by maconl (see edit history) 1 Link to comment Share on other sites More sharing options...
abhiz.2007 Posted November 2, 2014 Share Posted November 2, 2014 I created a gzip file as a back up.u used sublime editor to find n replace all the files at once. Also verified that the files have changed and saved. But yet the email output does not reflect the change Link to comment Share on other sites More sharing options...
maconl Posted November 3, 2014 Share Posted November 3, 2014 when you go with ftp to your folder mails -. your language open this folder and you go to a mail you know you have edited vieuw this one <on your server> is this a email you have edited ? or just the original one ? Link to comment Share on other sites More sharing options...
abhiz.2007 Posted November 3, 2014 Share Posted November 3, 2014 when you go with ftp to your folder mails -. your language open this folder and you go to a mail you know you have edited vieuw this one <on your server> is this a email you have edited ? or just the original one ? i have edited the email file at the location ../mails/en/account.html since i have only one language the base folder had "mails" available directly my website is abhishekproducts.in Link to comment Share on other sites More sharing options...
maconl Posted November 3, 2014 Share Posted November 3, 2014 ok well i just checked this one and seems it is still the original my advise is , upload the account.html with an ftp programm into the /mails/en folder if this one keep still the same original then log in on your hosting and see if the GID is apache or your hosting username if it is apache then go back til you see mails , select this folder and reset owner then you are able to change the mail templates Link to comment Share on other sites More sharing options...
pxloft Posted February 23, 2015 Share Posted February 23, 2015 Hi marky, You can do that all through the area in the Back Office I mentioned above: Email_HTML.png Please let me know if this works for you. -Mike Hi marky, You can do that all through the area in the Back Office I mentioned above: Email_HTML.png Please let me know if this works for you. -Mike Hi I am trying to include product details in the shipped email. When I edit the template and test it, it just gives me "{products}" instead of a list of the products purchased. Please help. Link to comment Share on other sites More sharing options...
MaXi32 Posted May 22, 2015 Share Posted May 22, 2015 (edited) ok well i just checked this one and seems it is still the original my advise is , upload the account.html with an ftp programm into the /mails/en folder if this one keep still the same original then log in on your hosting and see if the GID is apache or your hosting username if it is apache then go back til you see mails , select this folder and reset owner then you are able to change the mail templates Hi, please help me on this. I reset the GID and able to edit the template and add new template but Prestashop will not be able to edit this template using the email template editor that is built in at the Translator -> Email template. How do I reset back the GID to apache after editing ? Because I think the GID username other than 'apache' is preventing the Prestashop to update the files. Edited May 23, 2015 by arafatx (see edit history) Link to comment Share on other sites More sharing options...
MaXi32 Posted May 23, 2015 Share Posted May 23, 2015 anyone? Link to comment Share on other sites More sharing options...
HeyVoOn Posted June 4, 2015 Share Posted June 4, 2015 taking advantage of the topic. I would like to ask how could I add product image on on the email template? is it possible? how? thank you very much in advance. Link to comment Share on other sites More sharing options...
motion2082 Posted June 23, 2015 Share Posted June 23, 2015 had the same problem ^ no fix Link to comment Share on other sites More sharing options...
vekia Posted June 23, 2015 Share Posted June 23, 2015 you can add image in that way: <img src="http://linkto.product/image.jpg"/> Link to comment Share on other sites More sharing options...
motion2082 Posted June 24, 2015 Share Posted June 24, 2015 you can add image in that way: <img src="http://linkto.product/image.jpg"/> Wow...it's really that easy Link to comment Share on other sites More sharing options...
manosk24 Posted July 9, 2015 Share Posted July 9, 2015 Hi, how can i add product image in order confirmation email templates...please any one can help me... Link to comment Share on other sites More sharing options...
Mat_D1245 Posted December 4, 2015 Share Posted December 4, 2015 you can add image in that way: <img src="http://linkto.product/image.jpg"/> Hi everyone, I didn't get it, where do I insert that code? In my template I've got {product}, so I guess it must be inserted somewhere else. Thanks for any hints! Link to comment Share on other sites More sharing options...
Nuno42 Posted March 12, 2016 Share Posted March 12, 2016 How can i edit email css? i edited the two .tpl files i could find, but doesnt change everything on the email, is there a way to edit css templates like it's done on the shop frontoffice? Link to comment Share on other sites More sharing options...
MaXi32 Posted August 30, 2016 Share Posted August 30, 2016 (edited) I have a question. In the email template editor, What is the different between. Edit HTML version View/Edit TXT version What is the purpose of TXT Version ? Edited August 30, 2016 by arafatx (see edit history) Link to comment Share on other sites More sharing options...
pxloft Posted August 31, 2016 Share Posted August 31, 2016 I have a question. In the email template editor, What is the different between. Edit HTML version View/Edit TXT version What is the purpose of TXT Version ? The reason behind the TXT version is to provide an alternate reading style to some email clients. Some customer may not receive HTML content, and with the security of the TXT file, you at least know your content is being shown. Link to comment Share on other sites More sharing options...
shikotak Posted March 16, 2019 Share Posted March 16, 2019 I use Prestashop 1.7 and I change the email template in back office but the changes won"t apply in sent emails. Link to comment Share on other sites More sharing options...
fabianc7 Posted November 26, 2019 Share Posted November 26, 2019 (edited) On 3/16/2019 at 6:17 AM, shikotak said: I use Prestashop 1.7 and I change the email template in back office but the changes won"t apply in sent emails. I have the same problem. I did a lot of tests and it always is the same: changes applied in files are not applied in sent emails. I tested in Prestashop 1.6.x and 1.7.x I cleared Prestashop cache too. Any suggestion for fixing it? Thanks Edited November 26, 2019 by fabianc7 (see edit history) Link to comment Share on other sites More sharing options...
avi_t Posted February 13, 2020 Share Posted February 13, 2020 hii when i send '{products}' =>['aaaa','vvvvv','ggggg'] by the Mail::send function how can i loop throw it in the example.html and example.txt filles? i tried it with the example.tpl but it dident work Link to comment Share on other sites More sharing options...
zenerry Posted April 3, 2020 Share Posted April 3, 2020 On 11/26/2019 at 4:49 PM, fabianc7 said: I have the same problem. I did a lot of tests and it always is the same: changes applied in files are not applied in sent emails. I tested in Prestashop 1.6.x and 1.7.x I cleared Prestashop cache too. Any suggestion for fixing it? Thanks Hi folk, did you solve this? I'm in this same stage. Thanks. Link to comment Share on other sites More sharing options...
omom Posted April 10, 2020 Share Posted April 10, 2020 On 4/3/2020 at 4:53 PM, zenerry said: Hi folk, did you solve this? I'm in this same stage. Thanks. You must change e-mail template in another location. E-mails which send the Prestashop are in this folder: themes/[your theme]/mails. Link to comment Share on other sites More sharing options...
zenerry Posted April 17, 2020 Share Posted April 17, 2020 Yes I found that. In case they were not there, main templates are used. I copied main files to themes/[my theme]/mails and everything went fine. Thanks. Link to comment Share on other sites More sharing options...
Courage2000 Posted April 29, 2020 Share Posted April 29, 2020 Prestashop 1.7.6.5, php 7.2 - the problem is still here and is even courious! 1. My site has: - a custom theme (not default) - is not in English (is Romanian), it does not even have english as active/selectable language! 2. The default installation has the templates into /mails/language ex: /mails/en /mails/ro Aldo I use only Romanian language, the templates used for email are from /mails/en , but... translated with romanian text! 3. How i fixed the issue? Just copy the entiere /mails/* folder to /themes/your_theme/ It will also use your language folder! Link to comment Share on other sites More sharing options...
Rajehs Kumar Posted June 16, 2020 Share Posted June 16, 2020 Hi all, I tried to change email template from back office->translation but I got error while saving.. Any help ? Link to comment Share on other sites More sharing options...
Catarina123 Posted January 20, 2022 Share Posted January 20, 2022 Em 23/6/2015 às 14:58, Vekia disse: você pode adicionar imagem dessa forma: <img src="http://linkto.product/image.jpg"/> Olá boa tarde, você poderia me ajudar como realizar este processo, por favor? É diretamente no backoffice, traduções de e-mail? Eu não sei como fazer. Link to comment Share on other sites More sharing options...
Catarina123 Posted January 20, 2022 Share Posted January 20, 2022 Em 24/6/2015 às 10:09, o motion2082 disse: Uau... é realmente tão fácil Oi, como conseguiu? me ajudar. 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