In post #84 I recommended commenting out some code in google_base to stop the creation of two <g:google_product_category> after each item.
I found that by doing that, the few items I have with attributes were not assigned this field.
So, I've commented out the code in googlefroogle.php instead and that seems to work for both simple and attributed products.
PHP Code:
/*if (GOOGLE_PRODUCTS_DEFAULT_PRODUCT_CATEGORY != '') {//steve commented out to stop duplication
$google_product_category = $dom->createElement('g:google_product_category');
$google_product_category->appendChild($dom->createCDATASection($default_google_product_category));
$item->appendChild($google_product_category);
}*/
Bookmarks