Zen Cart Logo
Forums / All Other Contributions/Addons / Froogle Merchant Center merged into GoogleBase

Froogle Merchant Center merged into GoogleBase

Views: 157,263

Results 381 to 400 of 662
14 Feb 2007, 1:29 PM
#381
woodymon avatar

woodymon

Totally Zenned

Join Date:
Sep 2004
Posts:
2,309
Plugin Contributions:
1

Froogle Merchant Center merged into GoogleBase

kbalona:

use this SQL code...

DELETE FROM configuration WHERE configuration_key='GOOGLE_FROOGLE_MANUFACTURER';

DELETE FROM configuration WHERE configuration_key='GOOGLE_FROOGLE_PRODUCT_TYPE_SHOW';
UPDATE configuration SET configuration_description='Choose your product type' WHERE configuration_key='GOOGLE_FROOGLE_PRODUCT_TYPE';

SET @configuration_group_id=0;
SELECT @configuration_group_id:=configuration_group_id FROM configuration_group WHERE configuration_group_title= 'Google Froogle Configuration' LIMIT 1;

INSERT INTO configuration (configuration_id, configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, date_added, use_function, set_function) VALUES (NULL, 'Condition', 'GOOGLE_FROOGLE_CONDITION', 'new', 'Choose your Product's Condition', @configuration_group_id, 12, NOW(), NULL, 'zen_cfg_select_option(array('new', 'used', 'refurbished'),');


Thank you for the fix in update_1_3_3.sql. Yes, the INSERT statement was missing the configuration_key parameter. 

Note this SQL issue applies to upgraders only. It does NOT apply to fresh installs of this mod version.

Woody
14 Feb 2007, 2:13 PM
#382
woodymon avatar

woodymon

Totally Zenned

Join Date:
Sep 2004
Posts:
2,309
Plugin Contributions:
1

Re: Froogle Merchant Center merged into GoogleBase

  1. Regards to Google now requiring the product "condition" within the Froogle feed, the current/latest Google Froogle for Zen Cart mod from Andrew (1.3.3) supports one of the following conditions for ALL of your products in your shop.

Choose your Product's Condition:

  • new
  • used
  • refurbished

Since there is no "condition" field provided within default Zen Cart Product Types you cannot apply a condition to each individual product, thus the mod does the only thing it can do, applies a condition to ALL products.

  1. Also note that support for manufacturer field in the feed is now gone.

  2. I am unsure but Google may not support within their schema the ability to assign more than one price (regular price and sale price) for each product. But if someone wants to check with Google to see if they support multiple prices, maybe the needed logic can be coded into the mod, using existing code as an example.

  3. Again I can understand why Andrew is ridding himself of the pain of supporting this mod. Attempting to match the schema of Zen Cart products to Google's constantly changing feed requirements is near impossible.

I hope it will become easier to support such endeavours when Product Types obtain an overhaul in future Zen Cart upgrades. Or maybe Zen Cart team will integrate this mod into Zen Cart and take over support :wink2:

But in the mean time, if Google changes their requirements again, without a developer to take over support of this mod, Zen Cart shop keepers may be out of luck in getting their feeds accepted by Google.

Or as I mentioned before maybe Google will supply a developer/team to take over or assist with mod support.

Anyone know anybody at Google?

Woody

14 Feb 2007, 3:16 PM
#383
woodymon avatar

woodymon

Totally Zenned

Join Date:
Sep 2004
Posts:
2,309
Plugin Contributions:
1

Re: Froogle Merchant Center merged into GoogleBase

Woodymon:

  1. I am unsure but Google may not support within their schema the ability to assign more than one price (regular price and sale price) for each product. But if someone wants to check with Google to see if they support multiple prices, maybe the needed logic can be coded into the mod, using existing code as an example.
    Just visited http://base.google.com/base/products.html#price and confirmed GoogleBase/Froogle does not currently support a sale price attribute.

I suspect the Google Froogle mod could be hacked to test for the existence of a sale price for each of your products, and if that condition exists then replace the regular unit price for each of your products with the sale price in an array, before writing the feed file. Or something like that. IANAP.

Woody

14 Feb 2007, 4:33 PM
#384
a_berezin avatar

a_berezin

Deceased

Join Date:
Aug 2004
Location:
Saint Petersburg, Russia
Posts:
1,782
Plugin Contributions:
5

Re: Froogle Merchant Center merged into GoogleBase

Woody,

Woodymon:

  1. Again I can understand why Andrew is ridding himself of the pain of supporting this mod. Attempting to match the schema of Zen Cart products to Google's constantly changing feed requirements is near impossible.
    Is not present. Ok, I should explain the reason.
    I have stopped support of this module because i don't use it - this service is not accessible for me. And to spend my time and my money for its support it is too prodigal.
15 Feb 2007, 6:36 PM
#385
jeking avatar

jeking

Totally Zenned

Join Date:
Oct 2005
Location:
Chicago, IL USA
Posts:
1,592
Plugin Contributions:
0

Re: Froogle Merchant Center merged into GoogleBase

mydanilo:

Hi kbalona,

You are not alone. Same kind of error on my end. I posted it a few days ago but nobody seems to have insight.

I wonder, did nobody else have these #1064 - You have an error in your SQL syntax; errors?

Why is there a syntax error if the SQL patch is supposed to be sound? Any help or pointers is highly appreciated....

I'm still getting the same 1064 error. I tried uninstalling and reinstalling and still get the same error.

1064 You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'true', 'false'),'), (NULL, 'Default Currency', 'GOOGLE_FROOGLE_CURRENCY', 'USD',' at line 1

I don't understand why.

16 Feb 2007, 12:00 AM
#386
mydanilo avatar

mydanilo

Totally Zenned

Join Date:
Dec 2004
Posts:
1,024
Plugin Contributions:
0

Re: Froogle Merchant Center merged into GoogleBase

jeking:

I'm still getting the same 1064 error. I tried uninstalling and reinstalling and still get the same error.

1064 You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'true', 'false'),'), (NULL, 'Default Currency', 'GOOGLE_FROOGLE_CURRENCY', 'USD',' at line 1

I don't understand why.

I know we should not be pushy and post the same question over and over, but....I can't believe that nobody can give a quick pointer to why or where the 1064 errors come from. How come the SQL patch seem to work for some an not for others? I personally have no SQL syntax experience. PHP a lttle, HTML ok and I am willing to help the community where I can. Here with this I am on my wits end. Do I sound like I am begging for help? Hmm.....

I hope some of us will pick up where a_berezin leaves off. This mod is very important to many of us and it should be continued. Right?

16 Feb 2007, 5:21 AM
#387
woodymon avatar

woodymon

Totally Zenned

Join Date:
Sep 2004
Posts:
2,309
Plugin Contributions:
1

Re: Froogle Merchant Center merged into GoogleBase

mydanilo:

I know we should not be pushy and post the same question over and over, but....I can't believe that nobody can give a quick pointer to why or where the 1064 errors come from. How come the SQL patch seem to work for some an not for others?

Also have you attempted to run in phpmyadmin? If that does not work for you attach the complete SQL patch file and so we can take a look.

Woody

16 Feb 2007, 5:32 AM
#388
jeking avatar

jeking

Totally Zenned

Join Date:
Oct 2005
Location:
Chicago, IL USA
Posts:
1,592
Plugin Contributions:
0

Re: Froogle Merchant Center merged into GoogleBase

Woody,

Thanks for the offer to help. I had not tried from phpmyadmin, but just did and got a different error. This is the script I ran:

SET @configuration_group_id=0;
SELECT @configuration_group_id:=configuration_group_id
FROM configuration_group
WHERE configuration_group_title= 'Google Froogle Configuration'
LIMIT 1;
DELETE FROM configuration WHERE configuration_group_id = @configuration_group_id;
DELETE FROM configuration_group WHERE configuration_group_id = @configuration_group_id;

INSERT INTO configuration_group (configuration_group_id, configuration_group_title, configuration_group_description, sort_order, visible) VALUES (NULL, 'Google Froogle Configuration', 'Set Froogle Options', '1', '1');
SET @configuration_group_id=last_insert_id();
UPDATE configuration_group SET sort_order = @configuration_group_id WHERE configuration_group_id = @configuration_group_id;

INSERT INTO configuration (configuration_id, configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, date_added, use_function, set_function) VALUES (NULL, 'Froogle Username', 'GOOGLE_FROOGLE_USERNAME', 'froogle_username', 'Enter your Froogle username', @configuration_group_id, 1, NOW(), NULL, NULL),
(NULL, 'Froogle Password', 'GOOGLE_FROOGLE_PASSWORD', 'froogle_password', 'Enter your froogle password', @configuration_group_id, 2, NOW(), NULL, NULL),
(NULL, 'Froogle Server', 'GOOGLE_FROOGLE_SERVER', 'uploads.google.com', 'Enter froogle server<br />default: hedwig.google.com', @configuration_group_id, 3, NOW(), NULL, NULL),
(NULL, 'Show Default Currency', 'GOOGLE_FROOGLE_CURRENCY_DISPLAY', 'true', 'Display Currency', @configuration_group_id, 4, NOW(), NULL, 'zen_cfg_select_option(array('true', 'false'),'),
(NULL, 'Default Currency', 'GOOGLE_FROOGLE_CURRENCY', 'USD', 'Select currency', @configuration_group_id, 5, NOW(), NULL, 'zen_cfg_pull_down_currencies('),
(NULL, 'Show Offer ID', 'GOOGLE_FROOGLE_OFFER_ID', 'true', 'A unique alphanumeric identifier for the item - products_id code. ', @configuration_group_id, 6, NOW(), NULL, 'zen_cfg_select_option(array('id', 'model', 'false'),'),
(NULL, 'Display quantity', 'GOOGLE_FROOGLE_IN_STOCK', 'false', 'Display products quantity?', @configuration_group_id, 7, NOW(), NULL, 'zen_cfg_select_option(array('true', 'false'),'),
(NULL, 'The shipping options available for an item', 'GOOGLE_FROOGLE_SHIPPING', '', 'The shipping options available for an item', @configuration_group_id, 8, NOW(), NULL, NULL),
(NULL, 'Product Type', 'GOOGLE_FROOGLE_PRODUCT_TYPE', 'other', 'Choose your product type', @configuration_group_id, 12, NOW(), NULL, 'zen_cfg_select_option(array('book', 'music', 'video', 'other'),'),
(NULL, 'Condition', 'GOOGLE_FROOGLE_CONDITION', 'new', 'Choose your Product's Condition', @configuration_group_id, 12, NOW(), NULL, 'zen_cfg_select_option(array('new', 'used', 'refurbished'),'),
(NULL, 'Show Feed Lanugage', 'GOOGLE_FROOGLE_LANGUAGE_DISPLAY', 'false', 'Display Feed Language', @configuration_group_id, 13, NOW(), NULL, 'zen_cfg_select_option(array('true', 'false'),'),
(NULL, 'Feed Language', 'GOOGLE_FROOGLE_LANGUAGE', 'English', 'If Show Feed Language is True, what is your feed language?<br />default = en', @configuration_group_id, 14, NOW(), NULL, 'zen_cfg_pull_down_languages_list('),
(NULL, 'Output File Name', 'GOOGLE_FROOGLE_OUTPUT_FILENAME', 'froogle.txt', 'Set the name of your froogle output file', @configuration_group_id, 19, NOW(), NULL, NULL),
(NULL, 'Compress Feed File', 'GOOGLE_FROOGLE_COMPRESS', 'false', 'Compress Google froogle file', @configuration_group_id, 20, NOW(), NULL, 'zen_cfg_select_option(array('true', 'false'),'),
(NULL, 'Uploaded date', 'GOOGLE_FROOGLE_UPLOADED_DATE', '', 'Date and time of the last upload', @configuration_group_id, 21, NOW(), NULL, NULL),
(NULL, 'Output Directory', 'GOOGLE_FROOGLE_DIRECTORY', 'feed/', 'Set the name of your froogle output directory', @configuration_group_id, 20, NOW(), NULL, NULL),
(NULL, 'Expiration Date Base', 'GOOGLE_FROOGLE_EXPIRATION_BASE', 'now', 'Expiration Date Base:<ul><li>now - add Adjust to current date;</li><li>product - add Adjust to product date (max(date_added, last_modified, date_available))</li></ul>', @configuration_group_id, 2, NOW(), NULL, 'zen_cfg_select_option(array('now', 'product'),'),
(NULL, 'Expiration Date Adjust', 'GOOGLE_FROOGLE_EXPIRATION_DAYS', '365', 'Expiration Date Adjust in Days', @configuration_group_id, 2, NOW(), NULL, NULL),
(NULL, 'Use cPath in url', 'GOOGLE_FROOGLE_USE_CPATH', 'false', 'Use cPath in product info url', @configuration_group_id, 20, NOW(), NULL, 'zen_cfg_select_option(array('true', 'false'),');

and the error I got:

SQL query:

SELECT @configuration_group_id := configuration_group_id
FROM configuration_group
WHERE configuration_group_title = 'Google Froogle Configuration'
LIMIT 1 ;

MySQL said:

#1146 - Table 'dog_zc1.configuration_group' doesn't exist

16 Feb 2007, 7:36 AM
#389
woodymon avatar

woodymon

Totally Zenned

Join Date:
Sep 2004
Posts:
2,309
Plugin Contributions:
1

Re: Froogle Merchant Center merged into GoogleBase

jeking:

Woody,

Thanks for the offer to help. I had not tried from phpmyadmin, but just did and got a different error. This is the script I ran: {snipped}

and the error I got:

SQL query:
SELECT @configuration_group_id := configuration_group_id
FROM configuration_group
WHERE configuration_group_title = 'Google Froogle Configuration'
LIMIT 1 ;

MySQL said:
#1146 - Table 'dog_zc1.configuration_group' doesn't exist

So this last error report came from phpmyadmin?

I just have basic SQL knowledge but I suspect a db table prefix issue. However usually you will see an error like that from within Zen Cart's built-in SQL Executor (which will attempt to add the prefix your shop database is set up with), but not from phpmyadmin.

In phpmyadmin when you select your database do all the tables listed in the left column show a prefix of "dog_zc1." ? That is do you observe a table named "configuration_group" or is it named "dog_zc1.configuration_group"?

If the table is named "configuration_group" (without a prefix) then you should be able to run the SQL in phpmyadmin without that error. If you have a prefix on each table then you will need to either edit the SQL, or patch your database from within Zen Cart "Tools > Install SQL Patches" (do not upload, just paste in and the proper prefix should be auto applied).

Woody

16 Feb 2007, 1:08 PM
#390
jeking avatar

jeking

Totally Zenned

Join Date:
Oct 2005
Location:
Chicago, IL USA
Posts:
1,592
Plugin Contributions:
0

Re: Froogle Merchant Center merged into GoogleBase

Woody, you rock!! My tables do have the prefix. I pasted the sql script into the box in box and it worked! I have been using the file upload option on that page. I installed the rest of the files and the whole thing is working.

I'd bet others with the 1064 error are also uploading. I'd be curious to heard if this works for mydanilo now too.

Thanks again Woody.

16 Feb 2007, 5:51 PM
#391
ctcentralinfo avatar

ctcentralinfo

Totally Zenned

Join Date:
Apr 2005
Posts:
853
Plugin Contributions:
0

Re: Froogle Merchant Center merged into GoogleBase

What could be causing this? When I try to start the feed I get:

Froogle Data Feeder v.GOOGLE_FROOGLE_VERSION started 2007/02/16 12:39:45 Feed file - /home/cooltechcentral.txt
Fatal error: Maximum execution time of 30 seconds exceeded in /home/wwwcool/public_html/includes/functions/functions_lookups.php on line 522

I set Admin Session Time Out in Seconds to 7200 and Admin Set max_execution_time for processes to 300 and I stillgetting the same response. This wasn't happening before I upgraded to the newwst version and disabled dhl shipping mod.

16 Feb 2007, 9:17 PM
#392
ctcentralinfo avatar

ctcentralinfo

Totally Zenned

Join Date:
Apr 2005
Posts:
853
Plugin Contributions:
0

Re: Froogle Merchant Center merged into GoogleBase

Anyone? Anyone? Bueller?

17 Feb 2007, 1:10 AM
#393
mydanilo avatar

mydanilo

Totally Zenned

Join Date:
Dec 2004
Posts:
1,024
Plugin Contributions:
0

Re: Froogle Merchant Center merged into GoogleBase

Thank you woody! Yes jeking, this was my problem as well. Executing the SQL code in Admin was what was needed. I do have a prefix to my tables.

See, I knew there was somebody out there that has some more wits than me on this issue. Thank you to everybody in this Zen Cart forum. You guys ROCK! This is truly a great community. :))

17 Feb 2007, 1:28 AM
#394
rcrosier avatar

rcrosier

Zen Follower

Join Date:
Dec 2006
Location:
Vermont
Posts:
128
Plugin Contributions:
0

Re: Froogle Merchant Center merged into GoogleBase

kbalona:

WOOOOOOOHOOOOOOO!!!!!
Yes! It's working! Apparently I hadn't uploaded the new googlefroogle.php to the store's root. (Actually, I believe what happened is that I forgot to check "overwrite old file", and I uploaded but it did not overwrite the old file).

Just make sure you upload all the new files correctly, and use this SQL code (I wonder if someone could change it in the download section?)

DELETE FROM configuration WHERE configuration_key='GOOGLE_FROOGLE_MANUFACTURER';

DELETE FROM configuration WHERE configuration_key='GOOGLE_FROOGLE_PRODUCT_TYPE_SHOW';
UPDATE configuration SET configuration_description='Choose your product type' WHERE configuration_key='GOOGLE_FROOGLE_PRODUCT_TYPE';

SET @configuration_group_id=0;
SELECT @configuration_group_id:=configuration_group_id FROM configuration_group WHERE configuration_group_title= 'Google Froogle Configuration' LIMIT 1;

INSERT INTO configuration (configuration_id, configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, date_added, use_function, set_function) VALUES (NULL, 'Condition', 'GOOGLE_FROOGLE_CONDITION', 'new', 'Choose your Product's Condition', @configuration_group_id, 12, NOW(), NULL, 'zen_cfg_select_option(array('new', 'used', 'refurbished'),');


Hi,
I have the Froogle installed, and it's "working", except that I cannot get it to FTP the froogle.txt file to Froogle.  I can manually upload it ONLY.

I'm on ZC 1.3.6, with some contribs.

Is there a newer version of the googlefroogle.php than v 1.3.2?  Mine seems to have everything but Manufacturer and Condition... except for next question...

WHERE did you set the "overwrite old file"?  That may be my problem.

Thanks!
17 Feb 2007, 9:09 AM
#395
woodymon avatar

woodymon

Totally Zenned

Join Date:
Sep 2004
Posts:
2,309
Plugin Contributions:
1

Re: Froogle Merchant Center merged into GoogleBase

rcrosier:

Hi,
I have the Froogle installed, and it's "working", except that I cannot get it to FTP the froogle.txt file to Froogle. I can manually upload it ONLY.

Is there a newer version of the googlefroogle.php than v 1.3.2?

Mine seems to have everything but Manufacturer and Condition...

WHERE did you set the "overwrite old file"? That may be my problem.

Thanks!

Four questions above:

#1. What are the error messages you observe when FTPing to Google.

#2: Latest version of googlefroogle mod by andrew is 1.3.3.3 and it is in the ZC Downloads area.

#3 Manufacturer field is deprecated and not supported by Froogle (GoogleBase) any longer. Condition will be required very soon. You should upgrade to the newest GoogleFroogle version. More info in this thread.

#4. kbalona was referring to a config setting in his FTP program which he used to upload the new version of GoogleFroogle mod files to his server. Generally you want to configure your FTP program to ask you to overwrite files, before proceeding with uploading/overwriting an existing file of the same name, that is unless you like to live dangerously. (this setting is usually enabled by default... look in your FTP program help file)

Woody

17 Feb 2007, 9:22 AM
#396
woodymon avatar

woodymon

Totally Zenned

Join Date:
Sep 2004
Posts:
2,309
Plugin Contributions:
1

Re: Froogle Merchant Center merged into GoogleBase

jeking & mydanilo-

Good to hear that you were able to complete the install.

The tip regards to copy and pasting into the built in SQL Updater, and not uploading, came from Andrew awhile back. Yes that tips seems to work wonders.

Andrew just posted elsewhere that he has designed a ZenModsInstaller script that can be used with most any Zen Cart mod. So hopefully it can and will be adapted for this mod soon.

Woody

17 Feb 2007, 7:57 PM
#397
justwade avatar

justwade

Zen Follower

Join Date:
Oct 2005
Posts:
206
Plugin Contributions:
0

Re: Froogle Merchant Center merged into GoogleBase

I just installed this mod yesterday, haven't tried to connect with Google yet. I have the latest download. Everything seems to be where it should be so far, install was not that bad. I only installed the googlefroogle.sql and not any of the update choices, I think I did it right being I wasn't upgrading. It generated a product feed for me so I am optimistic about the next steps.

But my larger image popup on the products page is way too big now after the install. Yes, I have Image Handler installed and I know this mod was not designed for IH.

I did find a_berezin code to change in googlefroogle.php to make it work but I think this for making it work with froogle. It didn't help my large popups.
http://www.zen-cart.com/forum/showthread.php?t=52006&highlight=google+froogle+bad+image

I tried to control size in the Admin-Config-Images;

IH large image maximum width
IH large image maximum height

but that does nothing. I haven't found any references to this in the threads, sorry if I over looked it.

Does someone have an idea how I can adjust these popup product images smaller again?

18 Feb 2007, 1:38 AM
#398
crzipilot avatar

crzipilot

New Zenner

Join Date:
Oct 2006
Posts:
39
Plugin Contributions:
0

Re: Froogle Merchant Center merged into GoogleBase

Anyone have the same problem???

Installed the last version available in the dowloads section. Installed the SQL patch. (the full one, not the updates)

Everything seemed to go in, went to make the froogle file, the window popped up, said it did 2300 or so items.

When I look at the file, all it has is just the header, bascially the names of the attributes....but no actual products...

Any ideas?

18 Feb 2007, 2:34 PM
#399
mydanilo avatar

mydanilo

Totally Zenned

Join Date:
Dec 2004
Posts:
1,024
Plugin Contributions:
0

Re: Froogle Merchant Center merged into GoogleBase

Crzipilot, are you sure there is nothing more in the file? Did you open the froogle.txt? Or did you name it something else in Google Froogle Configuration? Did you go trough all the settings? Then make sure you uploaded all the files in the mod. If you renamed your admin, you might have copied to the wrong directory. What else....maybe just re-upload again to make sure you got all the files on your server.

Hope these few pointers help.

18 Feb 2007, 3:12 PM
#400
crzipilot avatar

crzipilot

New Zenner

Join Date:
Oct 2006
Posts:
39
Plugin Contributions:
0

Re: Froogle Merchant Center merged into GoogleBase

Yup, I've reuploaded everything, haven't changed any paths, or filenames. Haven't renamed admin directory,

I get the headers populated in the feed file. and it changes the file size from 0kb to 1kb. That's all I get.

1.3.7 zen cart, with IH,