Please help us to make AbanteCart Ideal Open Source Ecommerce Solution for everyone.

Support AbanteCart eCommerce

Author Topic: Google Base required attribute availability missing  (Read 12512 times)

Offline classicer

  • Newbie
  • *
  • Posts: 14
  • Karma: +4/-0
    • View Profile
Google Base required attribute availability missing
« on: March 29, 2014, 06:29:50 AM »
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

Offline classicer

  • Newbie
  • *
  • Posts: 14
  • Karma: +4/-0
    • View Profile
Re: Google Base required attribute availability missing
« Reply #1 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 
 

Offline thedarksyde

  • Full Member
  • ***
  • Posts: 131
  • Karma: +7/-1
    • View Profile
Re: Google Base required attribute availability missing
« Reply #2 on: February 13, 2015, 11:38:21 AM »
Bump.  This is still an issue. 

Offline Basara

  • Administrator
  • Hero Member
  • *****
  • Posts: 5751
  • Karma: +273/-2
    • View Profile

Offline dhigz

  • Newbie
  • *
  • Posts: 45
  • Karma: +16/-0
    • View Profile
Re: Google Base required attribute availability missing
« Reply #4 on: June 29, 2015, 08:26:38 PM »
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

Offline london

  • Newbie
  • *
  • Posts: 6
  • Karma: +0/-0
    • View Profile
Re: Google Base required attribute availability missing
« Reply #5 on: October 14, 2015, 06:04:25 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

Offline london

  • Newbie
  • *
  • Posts: 6
  • Karma: +0/-0
    • View Profile
Re: Google Base required attribute availability missing
« Reply #6 on: October 14, 2015, 06:25:02 AM »
Image error fixed in file just other errors now that are in the picture

Offline london

  • Newbie
  • *
  • Posts: 6
  • Karma: +0/-0
    • View Profile
Re: Google Base required attribute availability missing
« Reply #7 on: October 14, 2015, 06:40:07 AM »
See image attached for errors

 

Powered by SMFPacks Social Login Mod