Jump to content

GoogleBase new Attributes export.inc needs an update


Recommended Posts

I recently came across a problem with my text file submitted to GoogleBase, although the products were showing in base they did not link back to my website, instead they linked to a base google url

The exported cubecart txt file in v4.3.2 is using extinct attributes. I've not been able to find any information on the forums re updating the affected attributes on the forums. The extinct attributes are product_url name and image_url

Open admin > sources > products > export.inc.php and find the following line around line 40

	if ($results == true) {

		$googleBaseContent = "id\tproduct_url\tname\tdescription\timage_url\tprice\tcurrency\tcondition\r\n";

replace with:

	if ($results == true) {

		$googleBaseContent = "id\tlink\ttitle\tdescription\timage_link\tprice\tcurrency\tcondition\r\n";

This quick change seems to solve the problem as my products are now all correctly showing on GoogleBase with links directly to the product on our website.

(This info also published on cubecartforums.org forums)

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...