Exporting products to Googlebase

There has been huge demand for a module to allow upload of the products in Prestashop installations to Google Base. In an attempt to satisfy this, until such time as I can have a look at implementing it using the Google Base API, I threw together some code that will hopefully work. Only minimal testing has been performed, so I recommend that you use with caution.

Googlebase v0.1

Updated version (07 August 2008):
Googlebase v0.2

Updated version (10 September 2008):
Googlebase v0.3

Updated version (15 September 2008):
Googlebase v0.4

  • Share/Save/Bookmark

Tags: , , , , ,

22 Responses to “Exporting products to Googlebase”

  1. admin Says:
    August 7th, 2008 at 10:04 pm

    This Google Base feed for PrestaShop has been updated. Many thanks to ken in the presta forum for his additions (and correction!)

  2. admin Says:
    September 10th, 2008 at 6:25 pm

    Another update. Once again Ken has pointed out an “undocumented feature”! The previous version (0.2) was displaying inactive products. This should now be fixed in Version 0.3.

  3. John Says:
    September 15th, 2008 at 8:10 pm

    Getting an error on the xml output.

    Can be viewed here http://www.purplegiraffe.co.uk/en_googlebase.xml at the end of the document.

  4. admin Says:
    September 15th, 2008 at 8:32 pm

    It’s because there’s an & in the brand name (manufacturer field), rather than the html equivalent.

    The product descriptions have been sanitised, but not the brand names…

    I’ll look at the best way to handle it and post an update very shortly!

  5. John Says:
    September 15th, 2008 at 8:33 pm

    its in the product title so cant change it to html version

  6. John Says:
    September 15th, 2008 at 9:26 pm

    Ok new version works a treat all 900 items now uploaded correctly

  7. Sam Says:
    October 3rd, 2008 at 9:58 am

    This seems like a good feature, however I cannot install the module…

    Why?

  8. admin Says:
    October 3rd, 2008 at 10:07 am

    Hi there Sam,

    It should be a case of simply extracting the folder in the zip file into the modules folder on your site, then clicking install from the Back Office. At what point does the installation fail?

    To use it, you click the “configure” link in the Back Office and click the button to generate the feed.

  9. Sam Says:
    October 3rd, 2008 at 10:11 am

    Installation worked fine this time… how odd. My server has been playing up recently so maybe the file didnt upload properl.

    Sorted now… Impressive help on this site! Kudos…

  10. shawn Says:
    January 5th, 2009 at 12:36 pm

    Admin, I uploaded the google base folder to the modules folder for my site but i do not see the google base module in my back office. Did I do something wrong?

  11. shawn Says:
    January 5th, 2009 at 12:58 pm

    Never mind. I figured out what i did wrong.

  12. isaac Says:
    February 25th, 2009 at 1:10 am

    It seems like a great feature but it doesnt exacty put it in googlebase products together with all the other products its puts it next to to it, when you search something and click “compare prices” you dont show up any idea why its like that?

  13. Thomas Says:
    March 7th, 2009 at 7:10 pm

    is there anyway to set this up to automatically upload to google daily?

  14. Andy G Says:
    April 3rd, 2009 at 11:24 am

    Hi there, I have added this but when generating I get an error “cannot write”

    I’ve chmod the folder to 777.

    Is there somewhere else it’s trying to write to?

  15. vincent Says:
    April 10th, 2009 at 1:39 am

    Hello admin, i have download the Googlebase v0.4 and have intall it, but when i export it to google base, it says Data feed upload failed. No items are live. Is there anything wrong? Please help me. Thank you.

  16. Lulu Says:
    April 18th, 2009 at 10:14 am

    When i upload to goolge base i get an error messege.

    I generated file, saved it to comp and uploaded to google base i get the following msg:
    Data feed upload failed. No items are live

    any help?

  17. Fontez Says:
    May 13th, 2009 at 6:30 pm

    error:
    “Cannot write” why?
    modify permission for 777!

  18. Brendon Says:
    May 16th, 2009 at 1:49 pm

    Hi There. I’ve installed the module, which was fine.
    But when I go to insert the feed, Google processes it and fails.
    I get ‘Data feed upload failed. No items are live’ and ‘The item is missing a required attribute. ‘
    I have put a screen shot of the error at:-
    ww.marauderstores.com/shop/www.google.co.uk-base-showfeed.tif

  19. first1 Says:
    May 28th, 2009 at 5:56 pm

    hi, i am using 1.2.0.2 (alfa), insalled googlebase 0.4
    I get the following msg everytime i try to generate:
    Warning: fopen(/home/ohtile85/public_html/modules/googlebase/../../en_googlebase.xml) [function.fopen]: failed to open stream: Permission denied in /home/nserc5/public_html/modules/googlebase/googlebase.php on line 45

    Warning: fclose(): supplied argument is not a valid stream resource in /home/nserc5/public_html/modules/googlebase/googlebase.php on line 46

  20. george Says:
    June 6th, 2009 at 12:35 am

    Getting this error - Cannot write

    (everything is 777)

  21. Dee Says:
    June 13th, 2009 at 7:45 pm

    Hello,
    I downloaded the unzipped googlebase into my module, but cannot find it at BackOffice.
    can anyone please help?

  22. Oliver Gibson Says:
    June 19th, 2009 at 2:19 am

    wow, thanks for a great module :) very useful

Leave a Reply