support

Google Base required attribute availability missing

Started by classicer, March 29, 2014, 06:29:50 AM

Previous topic - Next topic

classicer

Hello,

Just installed Google Base extension and successfully uploaded all products via xml feed using Google Base extension purchased for AbanteCart Cart to my Google merchant account, however there is a missing required attribute error: "availability" for all products

All products are enabled and inventory counts are set to 100, enabling subtract stock does not have an effect. Promotional price does not get to Google base but only original which is ok for now..

Anyone has work around this?

Thanks!

Gnel

classicer

Found how to fix this manually for some of you who need this to work while the extension gets an update

1. Save Google Base extension xml output in notepad

2. from notepad edit menu find </g:quantity> closing attribute definition and replace with </g:quantity><g:availability>in stock</g:availability> this will add an attribute definition "availability" and predefined value  "in stock" to all products.

3. save and upload your xml file to your Google Merchant account

Gnel 

thedarksyde



dhigz

I know this thread is pretty old, but I have a simple solution.

Open the file /extensions/google_base/storefront/responses/extension/google_base.php

Toward the bottom of the "main" function before the line: $response .= '</item>'."\n";

Add a line: $response .= '<g:availability>in stock</g:availability>'."\n";

Don Higbee

london

Quote from: classicer on March 29, 2014, 07:09:15 AM
Found how to fix this manually for some of you who need this to work while the extension gets an update

1. Save Google Base extension xml output in notepad

2. from notepad edit menu find </g:quantity> closing attribute definition and replace with </g:quantity><g:availability>in stock</g:availability> this will add an attribute definition "availability" and predefined value  "in stock" to all products.

3. save and upload your xml file to your Google Merchant account

Gnel


This fixed that problem but i still have more problems. Please advice me also in the xml it shows >mysite.com/OakCart/image/thumbnails/no_image-500x500.jpg

london

Image error fixed in file just other errors now that are in the picture

london


Forum Rules Code of conduct
AbanteCart.com 2010 -