Post by vimal » Fri Sep 25, 2009 8:26 pm

Hi All,

I am testing my site and I have 2 issues which are probably the same. In my shop all the characters are displayed correctly. However emails is a problem as below.

1. My shop name has a '&' symbol in it. When the emails are sent out to customers, the & is replaced with '&amp'. How can I make sure that these characters come out right.

2. In my product titles there are swedish characters like ö, å, ä. Again in the shop it displays right but when an email is sent out to customer the email shows wrong characters. see message below. Red is wrong.

1x Vas med pärlemorinlägg (IN06VasPearl) Kr 440.00

It should be
1x Vas med pärlemorinlägg (IN06VasPearl) Kr 440.00

www.beeshop.se
Starta webbshop, Starta e-butik, Starta e-handel


Active Member

Posts

Joined
Wed Aug 26, 2009 8:54 am
Location - Sweden

Post by dbstr » Fri Sep 25, 2009 8:39 pm

Open catalog/model/checkout/order.php

At line 105, replace $mail->setText($message); with $mail->setText(html_entity_decode($message)); and see if it works ;-)

Request Reviews v1.0 released.


Active Member

Posts

Joined
Sun Aug 30, 2009 12:20 am

Post by vimal » Fri Sep 25, 2009 9:14 pm

Perfect! Works..Thanks a lot!

www.beeshop.se
Starta webbshop, Starta e-butik, Starta e-handel


Active Member

Posts

Joined
Wed Aug 26, 2009 8:54 am
Location - Sweden

Post by vimal » Fri Sep 25, 2009 10:14 pm

Just another question. If I do a change of status in the order and send the email to customer the email subject still shows the wrong characters. Where can I modify to get this right?

www.beeshop.se
Starta webbshop, Starta e-butik, Starta e-handel


Active Member

Posts

Joined
Wed Aug 26, 2009 8:54 am
Location - Sweden

Post by dbstr » Sat Sep 26, 2009 12:08 am

admin/model/customer/order.php

Request Reviews v1.0 released.


Active Member

Posts

Joined
Sun Aug 30, 2009 12:20 am

Post by vimal » Mon Sep 28, 2009 4:06 am

Hi!

I just changed as below in the admin/model/customer/order.php file but still get the wrong words. Is there some other place I need to change as well?

line 36 - $mail->setSubject(html_entity_decode($subject));
line 37 - $mail->setText(html_entity_decode($message));

www.beeshop.se
Starta webbshop, Starta e-butik, Starta e-handel


Active Member

Posts

Joined
Wed Aug 26, 2009 8:54 am
Location - Sweden
Who is online

Users browsing this forum: No registered users and 35 guests