Hi
problem with the € sign in the product name see in action : klik on the following link Hi € 30,00 1 jaar Motorola V3 RAZR black
Hi € 3000 1 jaar Motorola V3 RAZR black (product not found)
? HEnk
Hello,
i had the same problem.
But when you ad meta tags to the header.php whith the charset iso-8859-1 it works.
On my site it works now without any problems.
Cheers, Peter
change it but it's not the sollution.
xxx
Import from the xml file is not the problem because the € sign is imported ok.
the problem i think is from search.php to product.php product page is not reading it correct.
Henk3001 = Henk
Hi Henk,
Can you send me the feed URL (you can reply to your forum registration email) and I will try it on my test server, for example:
http://www.example.com/feeds/merchant.xml
(where example.com is your Price Tapestry site)
Thanks,
David.
maybee this one lost your attention. :)
Thx Henk
Hello Henk I have found the problem.
It is because, when using mod_rewrite; the product name is not urlencoded(), and this is why the € character is becoming corrupted.
To fix it, find on Line 143 of search.php this code:
$searchresults["products"][$k]["productHREF"] = "product/".tapestry_hyphenate($product["name"]).".html";
Change it to this:
$searchresults["products"][$k]["productHREF"] =
"product/".urlencode(tapestry_hyphenate($product["name"])).".html";
That will encode the € sign and then the product will be found.
Hope this helps!
David.
Hi Henk,
I have noticed that there are some other character encoding issue with other merchants on that site (in the product descriptions).
I see that you are using "iso-8859-1", but it looks like some feeds are in UTF-8 format. I would try this site in "utf-8" (and re-import), but there still may be a problem with the Euro symbol.
In which case, can you let me know the URL to the feed on your server and I will try it on my test server...
Thanks,
David.