Yes, they change the rules very quickly :smile:
What I was saying was that there is still an option to turn it off/on in admin->configuration->GoogleFroogle Configuration (which now does nothing). :smile:
Printable View
Yes, they change the rules very quickly :smile:
What I was saying was that there is still an option to turn it off/on in admin->configuration->GoogleFroogle Configuration (which now does nothing). :smile:
Ok! I return Offer Id setting: id/model/false. If you select "false", feeder generate EMPTY field (not skipping).
Hi Andrew :smile:
I didn't mean 'put the true/false switch back in' - you are right: since OFFER_ID is now a required attribute then OFFER_ID needs to be hard-coded since everyone will need it set 'true'.
I just meant: 'take the switch to set it true/false out of the config in admin' :smile:
Hi Andrew,
Thanks - even better still :-) :smile:
A (little) bug though ...
This version is giving an extra tab ( \t ) at the end of the feed - whether options are selected or not - because the tabs are at the end of the data values.
Maybe move the "\t" to before the data values on lines 109 - 115, instead of after (as now), and remove the tab at the end of line 108?
Eg.
PHP Code:
zen_froogle_sanita($products->fields['products_name'], true) . "\t" .
zen_froogle_sanita($products->fields['products_description']) . "\t" .
str_replace('&', '&', zen_href_link(zen_get_info_page($products->fields['products_id']), 'products_id=' . $products->fields['products_id'] . $product_url_add, 'NONSSL', false)) . "\t" .
number_format($currencies->value(zen_add_tax($price, zen_get_tax_rate($products->fields['products_tax_class_id'])), true, GOOGLE_FROOGLE_CURRENCY), 2, '.', '') . "\t" .
zen_froogle_image_url($products->fields['products_image']) . "\t" .
zen_froogle_expiration_date($products->fields['products_date_added'], $products->fields['products_last_modified'], $products->fields['products_date_available']) . "\t" .
zen_froogle_get_category($products->fields['products_id']) .
(GOOGLE_FROOGLE_OFFER_ID == 'model' ? "\t" . $products->fields['products_model'] : (GOOGLE_FROOGLE_OFFER_ID == 'id' ? "\t" . $products->fields['products_id'] : '')) .
(GOOGLE_FROOGLE_IN_STOCK == 'true' ? "\t" . $products->fields['products_quantity'] : '') .
(GOOGLE_FROOGLE_SHIPPING != '' ? "\t" . GOOGLE_FROOGLE_SHIPPING : '') .
(GOOGLE_FROOGLE_MANUFACTURER == 'true' ?"\t" . zen_froogle_sanita($products->fields['manufacturers_name']) : '') .
(GOOGLE_FROOGLE_PRODUCT_TYPE_SHOW == 'true' ? "\t" . GOOGLE_FROOGLE_PRODUCT_TYPE : '') .
(GOOGLE_FROOGLE_LANGUAGE_DISPLAY == 'true' ? "\t" . $languages->fields['code'] : '') .
(GOOGLE_FROOGLE_CURRENCY_DISPLAY == 'true' ? "\t" . GOOGLE_FROOGLE_CURRENCY : '') .
"\n";
Got it installed right after a month.. It created the .txt file.. When I upload it I get this:
Froogle Data Feeder started 2006/10/17 21:16:57 Feed file - /home2/lhhgbh1/public_html/feed/froogle.txt Upload started... Upload Failed Connected to: uploads.google.comLogin ok:Current Directory Is: /Warning: ftp_put() [function.ftp-put]: Opening ASCII mode data connection for froogle.txt.
Upload failed...
Anyone know whats wrong?
Don't know if you've tried it since and got the same result, but Google Base was down for maintenance last night for a few hours - I tried a feed then too and got an error (although a different one from yours). It went through just now fine.
I just tried it and it says succesful, so I went straight into my Google Base to view items and they werent there yet.. How long does it take to show the upload accepted or the items to appear because when I go into my Bulk upload section it doesnt even show that it received the upload.. The uploading from a website is new to me, I have done submissions directly to Base before.. Thanks for the tip.. Glad I went back and did it..
It can take a few hours sometimes before it shows, occasionally longer. It should appear eventually. :smile:
I've noticed a couple of problems...
1.The date is not showing up in text format or the program is not converting it to the appropriate date format that google suggests which is 2006-10-18.
It shows up as 10/18/2006 and I'm not sure if google will accept that. - I am not sure because I modified the figures before sneding the file.
2. My froogle.txt file shows 316 records (actual products) but everytime I upload it I only see 314 items. ?? uploaded twice same result.