Thanks Dave..
This was a HUGE help for me..
This fixed double quotation (") marks in my client's product descriptions, but not the product titles. (ie:
12-14" Widget) I also needed to add a fix for ampersands (&) used instead of the word "and" in product descriptions. So I modified your change slightly as follows:
In \includes\classes\google_base.php around line 202 find this:
PHP Code:
$str = str_replace(array("<", ">"), array("<", ">"), $str);
Replace that line with:
PHP Code:
// $str = str_replace(array("<", ">"), array("<", ">"), $str);
// 10-01-2009 Updated to correct quotation marks and ampersands in product titles and descriptions
$str = str_replace(array("lt;", "gt;", "quot;", """, "amp;"), array("<", " &qt; ", """, "\"", "&"), $str);
When I make these kinds of changes I like to comment out the original code versus simply replacing it and I always include comments so I know WHY I made the change.. (in case I have a senior moment!

) so if I need to roll back my change I can easily do this.
Like Dave said.. Nothing wrong with the code.. just with how my clients product titles and descriptions are managed needed a little massaging to make Google happy..
Bookmarks