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

  1. Open froogle.php file located in /modules/Froogle/froogle.php
  2.  Around line #114 find:
    product_typetlanguagen
  3. Replace that code with:
    product_typetlanguagern
  4.  Around line #117 find:
    conditiontproduct_typen
  5. Replace that code with:
    conditiontproduct_typern
  6.  Around line #238 find:
    fputs($fp, $post.”n”);
  7. Replace that code with:
    fputs($fp, $post.”rn”);
  8. Around line #65 find:
    return $str;
  9. Replace that line add the following code:
    //Gamma Mod – Fix Froogle
     $str = str_replace(“””, “””, $str);
     $str = “””.$str.”””;
     // end mod
    return $str;
  10. NOTE: When generating the Froogle export file through X-Cart, please make sure that you leave the language code field BLANK
     
  11. You are done