Zen Cart Logo
Forums / All Other Contributions/Addons / Google Base Feeder Support Thread [OLD]

Google Base Feeder Support Thread [OLD]

Locked

Views: 806,281

Results 561 to 580 of 3,556
This thread is locked. New replies are disabled.
25 Oct 2007, 7:03 PM
#561
doodlebuckets avatar

doodlebuckets

Totally Zenned

Join Date:
Jul 2005
Posts:
497
Plugin Contributions:
0

Google Base Feeder Support Thread [OLD]

I just upgraded and am excited about the weights being included in the feed, but they are not showing up. Anything I'm doing wrong. I did all the patches and uploaded all the files.

Thanks!

25 Oct 2007, 9:17 PM
#562
numinix avatar

numinix

Totally Zenned

Join Date:
Apr 2007
Location:
Vancouver, Canada
Posts:
1,566
Plugin Contributions:
58

Re: Google Base Feeder Support Thread [OLD]

Doodlebuckets, did you turn it on in the configuration?

25 Oct 2007, 9:19 PM
#563
doodlebuckets avatar

doodlebuckets

Totally Zenned

Join Date:
Jul 2005
Posts:
497
Plugin Contributions:
0

Re: Google Base Feeder Support Thread [OLD]

numinix:

Doodlebuckets, did you turn it on in the configuration?

Mais oui, but of course...

25 Oct 2007, 11:06 PM
#564
numinix avatar

numinix

Totally Zenned

Join Date:
Apr 2007
Location:
Vancouver, Canada
Posts:
1,566
Plugin Contributions:
58

Re: Google Base Feeder Support Thread [OLD]

Then... Je ne sais pas...

I will have to take a look at the code and see sometime later. What does it put in your feed file? Does it have the XML tags fr the weight and then just empty content? Perhaps post the XML from a single product.

26 Oct 2007, 9:55 AM
#565
paul3648 avatar

paul3648

Zen Follower

Join Date:
Mar 2007
Location:
Taiwan
Posts:
239
Plugin Contributions:
0

Re: Google Base Feeder Support Thread [OLD]

Hi there,

I've been using this excellent module for a while and really appreciate your efforts on this.

After getting an email from Google about Irrelevant product types I installed 1.6.2.

Now my products are duplicated - two entries for most products, each with the same URL. There are a few products that only have one entry - but there doesn't seem to be a pattern to which products are duplicated.

I have the products linked, but I've configured Google Base Feeder to exclude the secondary categories.

I've tried all three setting for "Product Type" and always get the duplicated products.

Any ideas what's wrong?

27 Oct 2007, 9:26 PM
#566
taf avatar

taf

New Zenner

Join Date:
Jun 2007
Posts:
58
Plugin Contributions:
0

Re: Google Base Feeder Support Thread [OLD]

Hi,

Been using google base feeder and it's working for me, so many thanks to all who have contirbuted to this.(v1.6.2)

Just trying to do some optimization and i noticed a few things.

  1. I cannot see the condition attribute in my XML.
  2. The brand attribute is empty.

I've searched on the forum, read the readme and looked at the admin in zencart but i can't see anything obvious.

If anyone could help that would be great. :)

Also i noticed the payment_notes attribute thought it could be another usful one to add?

payment_notes
Additional instructions to explain a payment policy. If you are accepting Google Checkout on your website, you may include that information here.
Format:
Text.
Tab-delimited example:
Cash only for local orders.
XML example:
<g:payment_notes>Cash only for local orders.</g:payment_notes>

27 Oct 2007, 10:13 PM
#567
taf avatar

taf

New Zenner

Join Date:
Jun 2007
Posts:
58
Plugin Contributions:
0

Re: Google Base Feeder Support Thread [OLD]

Ok I figured out why the brand is missing, needed to fill in the manufactures field in each product.

Still haven't figured out the missing condition attribute yet?

27 Oct 2007, 10:36 PM
#568
taf avatar

taf

New Zenner

Join Date:
Jun 2007
Posts:
58
Plugin Contributions:
0

Re: Google Base Feeder Support Thread [OLD]

Apologies for all the posts. I've done a quick hack to fix my problem with the missing condition attribute. Would appreciate it if someone could let me know what i might be doing wrong for the attribute not to appear in the first place.

Hack is:
/Comment out this line/
/$content["condition"] = (GOOGLE_BASE_ASA == 'true' ? ($products->fields['products_condition'] != '' ? '<g:condition>' . $products->fields['products_condition'] . '</g:condition>' : '<g:condition>' . GOOGLE_FROOGLE_CONDITION . '</g:condition>') : '');/

/Quick hack to get this working for now../
$content["condition"] = '<g:condition>' . 'new' . '</g:condition>';

file is googlefroogle.php

27 Oct 2007, 11:45 PM
#569
numinix avatar

numinix

Totally Zenned

Join Date:
Apr 2007
Location:
Vancouver, Canada
Posts:
1,566
Plugin Contributions:
58

Re: Google Base Feeder Support Thread [OLD]

Try not to hard code things:

$content["condition"] = '<g:condition>' . GOOGLE_FROOGLE_CONDITION . '</g:condition>';

I may have made a mistake with my nested short form if statements...

Can you try this first before changing to the fix above?

 
if (GOOGLE_BASE_ASA == 'true') {
  if ($products->fields['products_condition'] != '') {
    $content['condition'] = '<g:condition>' . $products->fields['products_condition'] . '</g:condition>';
  }
} else {
  $content["condition"] = '<g:condition>' . GOOGLE_FROOGLE_CONDITION . '</g:condition>';
}
28 Oct 2007, 12:17 PM
#570
taf avatar

taf

New Zenner

Join Date:
Jun 2007
Posts:
58
Plugin Contributions:
0

Re: Google Base Feeder Support Thread [OLD]

Sorry about the hard coding it was getting late and i just needed to get my bulk upload done before the morning. :smile:

Tried the new if statement and this seems to work for me.

I'm now looking at one other small issue i'm getting with the product_type when i'm setting the product type to top, bottom and full I don't see any difference in the output of the xml file.

I always see a comma separated listed of the top and then subsequent categories, I'm going to look into this some more.

28 Oct 2007, 2:21 PM
#571
taf avatar

taf

New Zenner

Join Date:
Jun 2007
Posts:
58
Plugin Contributions:
0

Re: Google Base Feeder Support Thread [OLD]

taf:

I'm now looking at one other small issue i'm getting with the product_type when i'm setting the product type to top, bottom and full I don't see any difference in the output of the xml file.

I always see a comma separated listed of the top and then subsequent categories, I'm going to look into this some more.

OK i think I've found the solution to this it's a one liner:

$product_type = zen_froogle_get_category($products->fields['products_id']);
                                array_pop($product_type); // removes category number from end
$product_type = explode(",", $product_type[0]); //Line added by taf..
```It looks as if the $product type array is not formed properly, i.e  only has element 0 that is made up of categories and sub categories separated by commas. The explode call seems to sort this out. So now top, bottom and full selections  on product  types  work.

A slightly neater way of fixing this might be fix this problem in the function zen_froogle_get_category.

The file is googlefroogle.php :smile:
29 Oct 2007, 6:29 AM
#572
phycel avatar

phycel

New Zenner

Join Date:
Sep 2007
Location:
Daytona Beach, Florida
Posts:
21
Plugin Contributions:
0

Re: Google Base Feeder Support Thread [OLD]

Ok -- I tried to weed my way through this thread to find my answer -- but nothing has worked so far.

I installed this mod on one of my client's sites and it worked perfectly.

Now I have installed it on another client's site - only difference being he has larger quantities and more products/categories. They are hosted with the same company, using the same plans, etc. But when I try to create the product feed xml, the window pops up, says it's done, but nothing happens. I check the feed folder and there is no file there. I made sure the feed folder chmod is 777 and I even tried re-uploading all the files to make sure I didn't miss anything. I also uploaded a php.ini file with the following code:

max_execution_time = 300
max_input_time = 90
memory_limit = 32M

So, any thoughts to what I may be doing wrong with this one? I just can't seem to figure out why this install would be different from the others. Everything was done the same.

Thanks in advance for your time. Great Mod!

Rene

29 Oct 2007, 6:30 PM
#573
numinix avatar

numinix

Totally Zenned

Join Date:
Apr 2007
Location:
Vancouver, Canada
Posts:
1,566
Plugin Contributions:
58

Re: Google Base Feeder Support Thread [OLD]

YairOz:

Recently I started to use Magic SEO and I've got the new html urls now...
The problem is that the base feeder is talking th epld PHP urls... so now I'm afraid of having duplicated pages in google...
Is it possible for the script to use the new urls names??

Can you please PM me an admin and FTP account to your server so I can test the Magic SEO URLs for v1.6.3 :cool:

29 Oct 2007, 10:48 PM
#574
numinix avatar

numinix

Totally Zenned

Join Date:
Apr 2007
Location:
Vancouver, Canada
Posts:
1,566
Plugin Contributions:
58

Re: Google Base Feeder Support Thread [OLD]

If anyone has Magic SEO URLs installed, please PM me to allow testing of the latest Google Base Feeder to be able to output SEO URLS as links for products and images.

The script will in no way damage your server and has nothing to do with your online catalog.

30 Oct 2007, 1:54 PM
#575
surf7_net avatar

surf7_net

New Zenner

Join Date:
Aug 2007
Posts:
35
Plugin Contributions:
0

Re: Google Base Feeder Support Thread [OLD]

Dear developer of this excellent mod,

Just wanna inform you that the included installation sql patch will delete configuration_key with configuration_group_id = 0

The effected keys are

PRODUCTS_OPTIONS_TYPE_SELECT
UPLOAD_PREFIX
TEXT_PREFIX

Deletion of above keys will effect the proper functionality of Zen Cart.

30 Oct 2007, 6:59 PM
#576
sgflowers avatar

sgflowers

Totally Zenned

Join Date:
Jan 2004
Posts:
508
Plugin Contributions:
0

Re: Google Base Feeder Support Thread [OLD]

surf7.net:

Dear developer of this excellent mod,

Just wanna inform you that the included installation sql patch will delete configuration_key with configuration_group_id = 0

The effected keys are

PRODUCTS_OPTIONS_TYPE_SELECT
UPLOAD_PREFIX
TEXT_PREFIX

Deletion of above keys will effect the proper functionality of Zen Cart.

cra* i just ran this on 1.3.7 how do i fix?

30 Oct 2007, 7:48 PM
#577
sgflowers avatar

sgflowers

Totally Zenned

Join Date:
Jan 2004
Posts:
508
Plugin Contributions:
0

Re: Google Base Feeder Support Thread [OLD]

sgflowers:

cra* i just ran this on 1.3.7 how do i fix?

IT DELETED THE IMAGE HANDLER 1.0 ones i restored from a backup

30 Oct 2007, 7:58 PM
#578
sgflowers avatar

sgflowers

Totally Zenned

Join Date:
Jan 2004
Posts:
508
Plugin Contributions:
0

Re: Google Base Feeder Support Thread [OLD]

i am getting an error from the feed

Error Bad data Line #
We didn't understand some of the XML formatting in your file. You may be missing a tag or have a nesting or formatting error. - help
4

i attached a zip of the feed xml

any ideas?

31 Oct 2007, 4:40 PM
#579
robm avatar

robm

New Zenner

Join Date:
Nov 2006
Posts:
88
Plugin Contributions:
0

Re: Google Base Feeder Support Thread [OLD]

Seem to be having a few problems.

On Google Base, it shows the kettle as being here: http://www.prideofthefleet.org.uk/summit-jug-kettle-24v-p-1243.html

When the actual link for the kettle on the site is http://www.prideofthefleet.org.uk/summit-jug-kettle-12-24-volt-p-298.html

As you can see when you click the link that Google Base gives, it takes it to a "Product Not Found" page, even though the Product is in the title, and the breadcrumbs.

It does this for all the products i've added (only 3 so far).

The product hasn't been switched to any different categories so i've no idea what could be causing the difference in links?

Any help appreciated.

31 Oct 2007, 11:38 PM
#580
aknatn avatar

aknatn

New Zenner

Join Date:
Jul 2007
Posts:
5
Plugin Contributions:
0

Re: Google Base Feeder Support Thread [OLD]

Hello, I am in need of some guidance, let me try to explain.

First, I have researched the problem on the forums and elsewhere to the best of my ability and can't find anything that helps solve it, hopefully someone can shed some light.

I have installed zen cart 1.3.7, mods; Google Base Feeder (latest version as of this date), Simple Google Analytics (installed after GBF) and Image Handler 2.

Everything appears to be installed correctly, no errors and no errors in the server error log. But when I run the product feed update it runs perfect but returns 0 records. There are 150 products in the database.

For troubleshooting I created a new product (test) and ran the update again, this product does get processed, but none of the others.

All of my other products were manually imported from OSC. I am reasonably proficient with phpMyAdmin, MySQL and PHP and everything else works fine with the imported products.

I compared the tables for the new (test) product that does work with the products that don't and can't find any differences. I checked the googleFroogle.php code and can't seem to find where the problem is. For some reason the script does not see the osCommerce imported items.

Please help, Google Base has been a great revenue stream for my client any advice or ideas are welcome.