1sweetman Posted January 9, 2013 Share Posted January 9, 2013 I have added the attached file to modules and installed it. When I go to generate the xml file I get the following error Fatal error in module googlebase: Call to undefined method Category::hideCategoryPosition() This is at line 196..... $category_name = Category::hideCategoryPosition($category->name); I have tried to just delete the function but I get an empty feed, and tried to comment it out with /* but then get syntax errors. I know that the function has been deprecated since prestashop 1.5.0 but can anyone advise me on how to work around this problem. I am using 1.5.2 at present. Many thanks in advance for your assistance. googlebase.php 1 Link to comment Share on other sites More sharing options...
olivier82 Posted January 19, 2013 Share Posted January 19, 2013 same probable for me. any idea or suggestions for another google shopping module tested in 1.5.3? thx Link to comment Share on other sites More sharing options...
tuxinside Posted January 24, 2013 Share Posted January 24, 2013 Hi, open googlebase.php in /modules/googlebase go to row 194 change $category_name = Category::hideCategoryPosition($category->name); to $category_name =$category->name; Simply remove call to function hideCategoryPosition. In PS 1.5 and older, this call to fuction is not request. Sorry for my bad english. 5 Link to comment Share on other sites More sharing options...
wilson113311 Posted February 9, 2013 Share Posted February 9, 2013 Hi how do I upload the google base feed when it's php and not a zip file? Any help would be greatly appreciated thanks jack Link to comment Share on other sites More sharing options...
slide83 Posted April 10, 2013 Share Posted April 10, 2013 I guess that you have to use the .php file to replace the one already in the googlebase folder created during the installation of the module Link to comment Share on other sites More sharing options...
Thanatiel Posted December 11, 2013 Share Posted December 11, 2013 Hi, open googlebase.php in /modules/googlebase go to row 194 change $category_name = Category::hideCategoryPosition($category->name); to $category_name =$category->name; Thanks it's working well now... but have a problem : all product have a disctinct EAN13 but the feed on each product is <g:gtin>0002147483647</g:gtin> Link to comment Share on other sites More sharing options...
petb Posted January 26, 2014 Share Posted January 26, 2014 @tuxinside Thnx looks like it is working now! Link to comment Share on other sites More sharing options...
Charles30 Posted February 15, 2014 Share Posted February 15, 2014 Hi, I try to make this module work on my website, I read the whole forum and I don't manage to generate my file. I already changed the line 194, as explained, and it still doesn't work... Here is the error message: "Fatal error[PrestaShop] Fatal error in module googlebase: Undefined variable: item_data" Does someone have a solution for me ? Many thanks in advance for your assistance ! Charles Link to comment Share on other sites More sharing options...
atsoft Posted February 23, 2014 Share Posted February 23, 2014 Not work 1.5.6.2 ! Link to comment Share on other sites More sharing options...
Charles30 Posted February 23, 2014 Share Posted February 23, 2014 @atsoft : Do you know when an update will be available ? Link to comment Share on other sites More sharing options...
Eduardo Vilar Posted March 18, 2014 Share Posted March 18, 2014 Hi, open googlebase.php in /modules/googlebase go to row 194 change $category_name = Category::hideCategoryPosition($category->name); to $category_name =$category->name; Simply remove call to function hideCategoryPosition. In PS 1.5 and older, this call to fuction is not request. Sorry for my bad english. After modifying the xml is generated but got this error: "This page contains The Following Errors: error on line 16 at column 81: EntityRef: expecting ';' Below is a rendering of the page up to the first error. " I commented the line 194 as suggested in a post but got this error: "This page contains The Following Errors: error on line 15 at column 90: EntityRef: expecting ';' Below is a rendering of the page up to the first error. " I am using prestashop v1541 and module V0.7.3.5 Any solution or someone uses another version of the module that works in v1541 store? Thanks! Link to comment Share on other sites More sharing options...
atsoft Posted September 30, 2014 Share Posted September 30, 2014 I made the suggested correction (categories), but now I get "Fatal error" after about 8 seconds of processing (5000 items) the file "it_eur_googlebase.xml" is generated in 0 bites Any suggestions? Link to comment Share on other sites More sharing options...
Recommended Posts