X-Cart Froogle (Google Products) Fix
Sofware
- X-Cart 4.1x
Problem Description
Google Products rejects the automatic Froogle file upload performed by X-Cart due to formatting issues.
Solution
- Open froogle.php file located in /modules/Froogle/froogle.php
- Around line #114 find:
product_typetlanguagen
- Replace that code with:
product_typetlanguagern
- Around line #117 find:
conditiontproduct_typen
- Replace that code with:
conditiontproduct_typern
- Around line #238 find:
fputs($fp, $post.”n”);
- Replace that code with:
fputs($fp, $post.”rn”);
- Around line #65 find:
return $str;
- Replace that line add the following code:
//Gamma Mod – Fix Froogle
$str = str_replace(“””, “””, $str);
$str = “””.$str.”””;
// end mod
return $str;
- NOTE: When generating the Froogle export file through X-Cart, please make sure that you leave the language code field BLANK
- You are done