Jump to content

[PARTIALLY SOLVED] 2 major issues: 1)pdf invoice greek characters 2)mail format for the mail alerts


Recommended Posts

these are the issues i have found out:

1)no matter what encoding-font combination i try pdf invoice cannot be properly displayed in greek

2)mail alerts are working but... i take this in my mailbox:

\r\n\r\n\r\n \r\n Message from MOTO STAMATIS - Αξεσουάρ & ανταλλακτικά μοτοσυκλετών\r\n\r\n\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n Hello Νικόλαος ΠΟΥΡΣΑΝΊΔΗΣ, thank you for shopping with MOTO STAMATIS - Αξεσουάρ & ανταλλακτικά μοτοσυκλετών.\r\n \r\n \r\n \r\n Order details\r\n \r\n \r\n \r\n \r\n Order: #000002 placed on 2009-10-27 10:42:06\r\n Payment: Μετρητοίς\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n Reference\r\n Product\r\n Unit price\r\n Quantity\r\n Total price\r\n \r\n \r\n

MacBook Air Metal, Optional 64GB solid-state drive, 1.60GHz Intel Core 2 Duo 1 789,97 € 1 1 789,97 € \r\n \r\n \r\n \r\n \r\n Products\r\n 1 789,97 €\r\n \r\n \r\n \r\n Discounts\r\n 0,00 €\r\n \r\n \r\n \r\n Shipping\r\n 6,00 €\r\n \r\n \r\n \r\n Total paid\r\n 1 795,97 €\r\n \r\n \r\n \r\n \r\n \r\n \r\n Shipping\r\n \r\n \r\n \r\n \r\n Carrier: Post (ταχυδρομείο)\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n Delivery address\r\n Billing address\r\n \r\n \r\n \r\n Νικόλαος ΠΟΥΡΣΑΝΊΔΗΣ\r\n Ατλαντίδος 26 Κάτω Τούμπα\r\n \r\n Θεσσαλονίκη 54454\r\n Ελλάδα \r\n \r\n \r\n \r\n Νικόλαος ΠΟΥΡΣΑΝΊΔΗΣ\r\n Ατλαντίδος 26 Κάτω Τούμπα\r\n \r\n Θεσσαλονίκη 54454\r\n Ελλάδα \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n You can review this order and download your invoice from the \"Order history\" section of your account by clicking \"My account\" on our website.\r\n \r\n \r\n \r\n \r\n \r\n MOTO STAMATIS - Αξεσουάρ & ανταλλακτικά μοτοσυκλετών powered with PrestaShop™\r\n \r\n \r\n \r\n\r\n\r\n


Any idea of what maybe the problem and how to fix them;

Thank you...

Link to comment
Share on other sites

SOLVED!

Atleast in my case, the language I downloaded had either faulty or old files in /roor/mails/lang-iso/ folder. Contained these \n\r as in your post. The working files, from english that came with my download, are clean:


<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>Message from {shop_name}</title>
</head>
<body>



Hope this helps, and I'll make sure to update the norwegian translation on these sites :)

Cheers.

  • Like 1
Link to comment
Share on other sites

these are the issues i have found out:

1)no matter what encoding-font combination i try pdf invoice cannot be properly displayed in greek

2)mail alerts are working but... i take this in my mailbox:

\r\n\r\n\r\n \r\n Message from MOTO STAMATIS - Αξεσουάρ & ανταλλακτικά μοτοσυκλετών\r\n\r\n\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n Hello Νικόλαος ΠΟΥΡΣΑΝΊΔΗΣ, thank you for shopping with MOTO STAMATIS - Αξεσουάρ & ανταλλακτικά μοτοσυκλετών.\r\n \r\n \r\n \r\n Order details\r\n \r\n \r\n \r\n \r\n Order: #000002 placed on 2009-10-27 10:42:06\r\n Payment: Μετρητοίς\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n Reference\r\n Product\r\n Unit price\r\n Quantity\r\n Total price\r\n \r\n \r\n

MacBook Air Metal, Optional 64GB solid-state drive, 1.60GHz Intel Core 2 Duo 1 789,97 € 1 1 789,97 € \r\n \r\n \r\n \r\n \r\n Products\r\n 1 789,97 €\r\n \r\n \r\n \r\n Discounts\r\n 0,00 €\r\n \r\n \r\n \r\n Shipping\r\n 6,00 €\r\n \r\n \r\n \r\n Total paid\r\n 1 795,97 €\r\n \r\n \r\n \r\n \r\n \r\n \r\n Shipping\r\n \r\n \r\n \r\n \r\n Carrier: Post (ταχυδρομείο)\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n Delivery address\r\n Billing address\r\n \r\n \r\n \r\n Νικόλαος ΠΟΥΡΣΑΝΊΔΗΣ\r\n Ατλαντίδος 26 Κάτω Τούμπα\r\n \r\n Θεσσαλονίκη 54454\r\n Ελλάδα \r\n \r\n \r\n \r\n Νικόλαος ΠΟΥΡΣΑΝΊΔΗΣ\r\n Ατλαντίδος 26 Κάτω Τούμπα\r\n \r\n Θεσσαλονίκη 54454\r\n Ελλάδα \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n You can review this order and download your invoice from the \"Order history\" section of your account by clicking \"My account\" on our website.\r\n \r\n \r\n \r\n \r\n \r\n MOTO STAMATIS - Αξεσουάρ & ανταλλακτικά μοτοσυκλετών powered with PrestaShop™\r\n \r\n \r\n \r\n\r\n\r\n


Any idea of what maybe the problem and how to fix them;

Thank you...


With emails I had the same problem, I set up to send text emails only and edited the .txt emails in the mails/ directory and manually removed the \r & \n...
Link to comment
Share on other sites

Did you try replacing your /mails/xx/ with /mails/en/ ...? I think this problem occurs because of outdated mail templates, using the new ones from the english or french language packs that come installed by default should solve your problem and let you use html mails again. Just delete your /mails/yourlang/ and make a cope of /mails/en/ and rename it /mails/yourlang/ and you should be fine once you've translated them into your language :)

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