€-Symbol in E-Mails

  • Posts: 7
  • Thank you received: 0
12 years 3 months ago #57556

Hi,

I´m making my first test-shop with hika (starter) and I´m very happy about the flexibility.
However I share the following problem:

The €-Symbol appears in some web-based email viewer as an questionmark. Because I found no solution for this problem, I changed the currency symbol from "€" to "EUR". Now everything is cool :)
But if I use 3 letters for the currency, there is not enough space in the column of the confirmation emails. That means the price takes 2 lines.
Is it somehow possible to change the formatting (size of the column) of the emails in the starter edition?

Kind regards and sorry for my bad english...
Foleys

Last edit: 12 years 3 months ago by foleys. Reason: spelling :-/

Please Log in or Create an account to join the conversation.

  • Posts: 82726
  • Thank you received: 13342
  • MODERATOR
12 years 3 months ago #57622

Hi,

If you get question marks instead of the € symbol, it might be because your email server is sending emails in UTF8.
It's hard to say exactly what could be the solution though to make it work properly.

For the EUR text, you have several solutions, but the simplest would be to remove the space you have between prices and the currency by turning off the "Symbol and positive value space separation" in the options of your currency, via the menu System->Currencies.
Otherwise, you would have to edit the code of the emails and add some no-wrap inline CSS. But it's more difficult, especially with the starter edition because you don't have the Email edition interface which is only in the Business edition.

The following user(s) said Thank You: foleys

Please Log in or Create an account to join the conversation.

  • Posts: 95
  • Thank you received: 1
  • Hikashop Business
10 years 4 months ago #160035

Hi,

I am having the same problem, sometimes with the currency in the emails , euro symbol is like question mark.

Also, I noticed the same problem in the description of a product. The last character of a big description (before the option read more) it appears like a question mark. Here is the link of the product with the issue

www.wideservices.gr/coursetaxi/demo/xara..._tabular_description

Thanks in advance

Last edit: 10 years 4 months ago by wideservices.

Please Log in or Create an account to join the conversation.

  • Posts: 13201
  • Thank you received: 2322
10 years 4 months ago #160038

Hi,

That's due to a character which is cut. TO have the readmore part, we use the php function substr().
In HTML the code for € is: € so if the substr() function cut the text in the middle of the HTML code for €, it will return for example  so a broken code, that's why the question mark is displayed.

What can be done is replace substr() by mb_substr() which avoir this kind of issues, but "mb" is a library which is not always enabled on the servers, so you have maybe to add this php library to your environment.

To replace substr() into mb_substr() you have to edit the view "product / show_tabular" via Display > Views and the email content, in the preload part of the email via the menu System > Email.

Please Log in or Create an account to join the conversation.

Time to create page: 0.079 seconds
Powered by Kunena Forum