Tips and Tricks HQ Support Portal › Forums › WP eStore Forum › Buyer Email Body and Seller Email Body can't display Chinese properly.
Tagged: Buyer Email Body, Seller Email Body
- This topic has 8 replies, 3 voices, and was last updated 13 years, 2 months ago by admin.
-
AuthorPosts
-
August 2, 2011 at 4:07 pm #3960iamotMember
I check Use WordPress Mailing System and Send Emails to Buyer After Purchase.
And I put some Chinese in the Buyer Email Subject* and Seller Email Subject* and Buyer Email Body* and Seller Email Body*.
Then I did live test to buy the product.
Buyer Email Subject and Seller Email Subject show Chinese well.
But in the Buyer Email Body* and Seller Email Body* , it can’t show Chinese in the product name and Chinese in the body.
Here is what I got in the Buyer Email:
親愛的Eric Tung
感�訂購�
À¹¥§´£®M²Õ x 1 – NT1 (TWD)
À¹¥§´£¡G²{¥N¤ßÆF°·±d¬ì¾Ç x 1 – NT1 (TWD)
Any items to be shipped will be processed as soon as possible, any items that can be downloaded can be downloaded using the encrypted links below.
À¹¥§´£®M²Õ – é€™é …å•†å“�沒有å�¯ä»¥ä¸‹è¼‰çš„內容。
À¹¥§´£¡G²{¥N¤ßÆF°·±d¬ì¾Ç – http://www.wehelps.info/wp-content/plugins/wp-cart-for-digital-products/download.php?file=2xOa%2FCsBU%2FSSjKTo
Then I test it again, Here is what I got in the Buyer Email this time:
Dear Eric Tung
Thank you for ordering嚗� ��蠘�肽�頃嚗�
戴尼提:現代心靈健康科學 x 1 – NT1 (TWD)
Any items to be shipped will be processed as soon as possible, any items that can be downloaded can be downloaded using the encrypted links below.
戴尼提:現代心靈健康科學 – http://www.wehelps.info/wp-content/plugins/wp-cart-for-digital-products/download.php?file=2xOa%2FCsBUP2Vja3r
Thank you!
戴尼提:現代心靈健康科學 :This is product name and display right.
Thank you for ordering嚗� ��蠘�肽�頃嚗�(This is the same product name display wrong.) in the same email.
I use WP eStore v 5.7.3.
PS: I can display Product name in Chinese in front end right.
Cany you help me on this issue?
Thanks.
Eric
August 3, 2011 at 2:09 am #35054amin007ParticipantWhat email client do you use to view your emails?
August 3, 2011 at 10:23 am #35055iamotMemberI use Yahoo email to read the email.
August 3, 2011 at 11:54 pm #35056amin007ParticipantLets try one little tweak. Please open the “paypal.php” file and search for the following line of code:
array_push($product_name_array, $cart_item_data_name);
Once you find it please change it with the following:
array_push($product_name_array, $retrieved_product->name);
Please do a test transaction after the change and let me know if you see any difference.
August 4, 2011 at 2:27 am #35057iamotMemberHere is what I get(didn’t display right):
Dear Eric Tung
Thank you for ordering� 感�訂購�
戴尼æ��:ç�¾ä»£å¿ƒé�ˆå�¥åº·ç§‘å¸ x 1 – NT1 (TWD)
Any items to be shipped will be processed as soon as possible, any items that can be downloaded can be downloaded using the encrypted links below.
PS: Because I recommend these plugins to several companies , some of them brought recently thru my link, I need to teach them how to settle this problem.
I know I can type English product name , then the problem will gone, but it’s better to show customer Chinese product name. Thanks again.
August 4, 2011 at 6:36 am #35058amin007ParticipantOkay, one more testing… please search for the following line of code in “paypal.php” file:
$body = stripslashes(str_replace($tags,$vals,$email_body));
Once you find it please change it with the following:
$body = str_replace($tags,$vals,$email_body);
Give that a go.
August 4, 2011 at 8:29 am #35059iamotMemberIt didn’t display right,too.
Note: Seller email is sent by Hostmonster(my web hosting)
August 5, 2011 at 12:17 am #35060amin007ParticipantI sent you an email to get site access so I can investigate this.
September 2, 2011 at 4:18 am #35061adminKeymaster -
AuthorPosts
- You must be logged in to reply to this topic.