Jump to content

PS 1.6.1.6 - mail template error


skara

Recommended Posts

I' trying to change email template (e.g. adding social icon). I've changed order_merchant_comment template from traslation BO menu and checked it in mail/it folder (html and txt as well). Everything fine and easy!

 

post-829495-0-10083400-1472656942_thumb.png

 

In BO I went into order and send a message to an italian customer (to me for test).

 

post-829495-0-33535600-1472656940_thumb.jpg

 

The email arrives, but with the standard Italian template, not with the changed one (I've checked in mail/it folder and the re is the changed one). It seems it is not using the template in mail/it, but one in another folder. 

post-829495-0-26694600-1472656941_thumb.jpg

 

Which is the correct email template folder? Any idea about the problem?

 

Thank you

 

Here below PS info.

 

Thank you in advance for any idea.

 

 SERVER INFORMATION

Server information Linux #1 SMP Tue Jun 9 20:57:37 UTC 2015 x86_64

Server software version Apache

PHP version 7.0.9

Memory limit 512M

Max execution time 30

 DATABASE INFORMATION

MySQL version 5.6.29-log

MySQL engine InnoDB

MySQL driver DbPDO

 STORE INFORMATION

PrestaShop version 1.6.1.6

Shop URL http://bbhands.com/

Current theme in use default-bootstrap

 MAIL CONFIGURATION

Mail method You are using the PHP mail() function.

Edited by skara (see edit history)
Link to comment
Share on other sites

Hello,

 

Check Inside your customized theme the mail folder ! ..\your_theme\mails\it

 

Also at the root : mails\it

 

Check the files : order_merchant_comment.txt for the translation

 

Firendly

 

I've changed the "core" email template in BO, so I supposed that the changed template are in mails\it (infact here the template are changed).  

 

So, I'm confused: which template have to change?  In mails\it or \your_theme\mails\it or both? Is there a bug to be highlighted?

 

Thank you for your reply.

Edited by skara (see edit history)
Link to comment
Share on other sites

Did you check the mails inside your theme folder : ? (..\themes\your_theme\mails\it )

 

Yes, it's needed to change both !

 

Also the version Html and text.

 

I have done manually all changes insides mails (html and text) because I have errors inside Html version using translations !

Edited by myselfidem (see edit history)
Link to comment
Share on other sites

Did you check the mails inside your theme folder : ? (..\themes\your_theme\mails\it )

 

Yes, it's needed to change both !

 

Also the version Html and text.

 

I have done manually all changes insides mails (html and text) because I have errors inside Html version using translations !

 

I've changed first in the theme (..\themes\your_theme\mails\it ), and it already works (without changing core folder). 

 

It is already working fine everithing, but I'll follow your precious suggestions to change the core folder as well. Is it enough to copy and paste everithing from theme folder to core folders (mails/it), isn't it?

 

Let me ask you also: text version when will be used?

 

Remark:

I've added the socials below in all the emails, and some missing translations in the emails. I hope in the next ps versions it will be included.

 

Thank you myselfidem for your help.

 

BBhands.com

<a href="https://www.facebook.com/BBHandsBijouxb" target="_blank"><img src="http://bbhands.com/img/prod/SocialIcon/FBicon.jpg" width="35" height="35" /></a>
<a href="https://plus.google.com/+Bbhands" target="_blank"><img src="http://bbhands.com/img/prod/SocialIcon/Gicon.jpg" width="35" height="35" /></a>
<a href="https://twitter.com/BBHandsBijoux" target="_blank"><img src="http://bbhands.com/img/prod/SocialIcon/Ticon.jpg" width="35" height="35" /></a>
<a href="http://www.pinterest.com/bbhandsBijoux/" target="_blank"><img src="http://bbhands.com/img/prod/SocialIcon/Picon.jpg" width="35" height="35" /></a>

<a href="https://www.facebook.com/BBHandsBijouxb" target="_blank"><img src="http://bbhands.com/img/prod/SocialIcon/FBicon.jpg" width="35" height="35" /></a>

<a href="https://plus.google.com/+Bbhands" target="_blank"><img src="http://bbhands.com/img/prod/SocialIcon/Gicon.jpg" width="35" height="35" /></a>

<a href="https://twitter.com/BBHandsBijoux" target="_blank"><img src="http://bbhands.com/img/prod/SocialIcon/Ticon.jpg" width="35" height="35" /></a>

<a href="http://www.pinterest.com/bbhandsBijoux/" target="_blank"><img src="http://bbhands.com/img/prod/SocialIcon/Picon.jpg" width="35" height="35" /></a>

Edited by skara (see edit history)
Link to comment
Share on other sites

Thanks ;-)

 

Your question:

"Is it enough to copy and paste everything from theme folder to core folders (mails/it), isn't it ?"

 

Yes, we can copy like you said or vice versa. There are the same files inside the folder : mails\it.

Also inside your customized theme and default-bootstrap theme.

 

About the text version...Maybe it's for customers using only to see the mails with text and not with Html ?

 

Friendly

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