You are here:  » Exporting to Google products

Support Forum



Exporting to Google products

Submitted by azizjon2011 on Fri, 2011-06-10 18:16 in

Hey Dave,
I have the code that you gave me a long time ago and i am trying to export the products from my site to Google Products, but its giving me an error. The link to the product page is incorrect.
Can you please take a look at it?

{code saved}

also, for some reason its only exporting 280 products, when i have almost 4000 products on my site.
Can You please help?
Thanks

Submitted by support on Sat, 2011-06-11 08:45

Hi,

Invalid product URLs sounds like $_SERVER["HTTP_HOST"] may not be being set on your server. To fix this, in place of:

  $baseHREF = "http://".$_SERVER["HTTP_HOST"].$config_baseHREF;

...use:

  $baseHREF = "http://www.example.com".$config_baseHREF;

(where www.example.com is your site's host name)

Regarding exporting less products than expected; I don't see an obvious reason for that - could it be a reporting of the number of products accepted? If you're not sure if you could let me know the URL to the script after making the above change (I'll remove before posting your reply) I'll take a further look for you...

Cheers,
David.
--
PriceTapestry.com

Submitted by azizjon2011 on Sat, 2011-06-11 20:32

Thanks,
But i still have the same problem.
I just noticed, that when i click on an item from google products site, and the link takes me to:
{link saved}
its suppose to be:
{link saved}
If you add the .html in the end it will work, but when i export products to google its exporting it without .html in the end. Also i am not sure why its only exporting 280 products.
Still cant figure it out.

Thank You for all your help.

Submitted by support on Sun, 2011-06-12 04:28

Thanks,

Please could you email me your export script as an attachment and I'll check it out for you...

Cheers,
David.
--
PriceTapestry.com

Submitted by clare on Mon, 2011-06-13 10:09

Some years back I added my sites products to Google products and after some time, they were all rejected on the basis that the products were not actually sold on my site, but were affiliate links. So since then I have not tried putting them there.

I am wondering if they have relaxed their rules, or if there is some way round this?

Submitted by support on Mon, 2011-06-13 10:25

Hi Clare,

A number of users run Price Tapestry for custom products so I'm not sure with regards to your question. However, there have been a number of recent changes with solid price comparison being an acceptable "value add" although this refers more to search results than Base; which I think is intended as purely merchant sold / tangible product as far as I know...

Cheers,
David.
--
PriceTapestry.com

Submitted by clare on Mon, 2011-06-13 10:41

Ah thanks. I remember making a load of commissions whilst my products were in base, it was quite disappointing that they were removed, but if I ever sold a product I would go straight to Google products/base, to sell it, as the results are really good!

Good to know that price comparison sites are considered a value add for search results, I am going to work on getting my comparisons good, get the product mapping working well. I do wish more merchants would put the upc so that it was easy, but I guess some probably dont want to be compared if they are not the cheapest.