Jump to content
marky96

[SOLVED] How can I change the email templates?

Recommended Posts

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?

  • Like 1

Share this post


Link to post
Share on other sites

Hi marky,

You can do this easily in your Back Office under Tools > Translations > Modify Translations > Email template translations.

 

I hope this helps.

 

-Mike

  • Like 7

Share this post


Link to post
Share on other sites

hi ,

and to change the templates

Look for the folder Mails

your server-> Prestashop - > Mails

in these folder you find all the emails

  • Like 3

Share this post


Link to post
Share on other sites

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:

 

post-276528-0-54451900-1322062845_thumb.png

 

Please let me know if this works for you.

 

-Mike

  • Like 4

Share this post


Link to post
Share on other sites

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 by RCP90 (see edit history)

Share this post


Link to post
Share on other sites

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

Share this post


Link to post
Share on other sites

Anyway to use Mailchimp instead of using the built in template in prestashop? not for mass emails but password reminders etc.

Share this post


Link to post
Share on other sites
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.

Share this post


Link to post
Share on other sites

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

Share this post


Link to post
Share on other sites

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

Share this post


Link to post
Share on other sites

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

Share this post


Link to post
Share on other sites

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?

Share this post


Link to post
Share on other sites

if you use default theme, all mail files should be located there.

Share this post


Link to post
Share on other sites

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

Share this post


Link to post
Share on other sites

Hi marky,

You can do that all through the area in the Back Office I mentioned above:

 

attachicon.gifEmail_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 by abhiz.2007 (see edit history)

Share this post


Link to post
Share on other sites

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/

Share this post


Link to post
Share on other sites

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 by maconl (see edit history)
  • Like 1

Share this post


Link to post
Share on other sites

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

Share this post


Link to post
Share on other sites

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 ?

Share this post


Link to post
Share on other sites

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

Share this post


Link to post
Share on other sites

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

Share this post


Link to post
Share on other sites

Hi marky,

You can do that all through the area in the Back Office I mentioned above:

 

attachicon.gifEmail_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:

 

attachicon.gifEmail_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.

Share this post


Link to post
Share on other sites

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 by arafatx (see edit history)

Share this post


Link to post
Share on other sites

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.

Share this post


Link to post
Share on other sites

Hi,

 

how can i add product image in order confirmation email templates...please any one can help me...

Share this post


Link to post
Share on other sites

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?

Share this post


Link to post
Share on other sites

I have a question. In the email template editor, What is the different between. 

 

 

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.

Share this post


Link to post
Share on other sites

I use Prestashop 1.7 and I change the email template in back office but the changes won"t apply in sent emails.

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...

Important Information

Cookies ensure the smooth running of our services. Using these, you accept the use of cookies. Learn More