Unrecognized attribute: department

thedeed's picture
Offline
Joined: 07/08/2009
Juice: 42
Unrecognized attribute: department

Im using the uc_google_base 2.3.1 module and it works great
Unercart 2.2
Drupal 6
Looks like Google did a change to their attributes

Here is the error I am getting

Unrecognized attribute: department (8599 warnings)
Your feed contains an attribute name our system doesn't recognize. Please verify your attribute name as necessary, and please be aware that this attribute may no longer be included in our Feed Specification.

Looks like this has been changed to product type [product_type]
http://www.google.com/support/merchants/bin/answer.py?answer=188494

Can someone please tell me the correct code to add to the module that will replace the existing line that says
$output .= "" . check_plain(implode(',', $terms)) . "\n";

I have tried

$output .= "" . check_plain(implode(',', $terms)) . "\n";

But the XML comes back blank

As well can someone tell me how to add stock.

Thanks in advance for any help on this matter.

Google Base RSS Feed, 2.3.1 By: danbaker (40 replies) Sat, 06/20/2009 - 12:36