Code:
557c557
< 'v_froogle_ shipping' => $iii++,
---
> // 'v_froogle_ shipping' => $iii++,
559c559
< 'v_froogle_ upc' => $iii++,
---
> // 'v_froogle_ upc' => $iii++,
564c564
< 'v_froogle_manufacturer_id' => $iii++,
---
> // 'v_froogle_manufacturer_id' => $iii++,
566c566
< 'v_froogle_product_type' => $iii++,
---
> // 'v_froogle_product_type' => $iii++,
568c568
< 'v_froogle_currency' => $iii++,
---
> // 'v_froogle_currency' => $iii++,
572,573c572,573
< 'product_url' => $iii++,
< 'name' => $iii++,
---
> 'link' => $iii++,
> 'title' => $iii++,
576,580c576,580
< 'image_url' => $iii++,
< 'category' => $iii++,
< 'offer_id' => $iii++,
< 'instock' => $iii++,
< 'shipping' => $iii++,
---
> 'image_link' => $iii++,
> 'product_type' => $iii++,
> 'id' => $iii++,
> 'condition' => $iii++,
> // 'shipping' => $iii++,
582c582
< 'upc' => $iii++,
---
> // 'upc' => $iii++,
587c587
< 'manufacturer_id' => $iii++,
---
> // 'manufacturer_id' => $iii++,
589c589
< 'product_type' => $iii++,
---
> // 'product_old' => $iii++,
591c591
< 'currency' => $iii++,
---
> // 'currency' => $iii++,
754,756c754,756
< $row['v_froogle_instock'] = 'Y';
< $row['v_froogle_shipping'] = '';
< $row['v_froogle_upc'] = '';
---
> $row['v_froogle_instock'] = 'new';
> // $row['v_froogle_shipping'] = '';
> // $row['v_froogle_upc'] = '';
760c760
< $row['v_froogle_manufacturer_id'] = '';
---
> // $row['v_froogle_manufacturer_id'] = '';
762c762
< $row['v_froogle_product_type'] = 'OTHER';
---
> // $row['v_froogle_product_type'] = 'OTHER';
764c764
< $row['v_froogle_currency'] = 'usd';
---
> // $row['v_froogle_currency'] = 'usd';
798a799
> // Google merchants doesn't seem to require the quotes anymore A.T.
800,801c801,802
< $row['v_froogle_products_name_' . $lid] = '"' . html_entity_decode(strip_tags(str_replace('"','""',$row2['products_name']))) . '"';
< $row['v_froogle_products_description_' . $lid] = '"' . html_entity_decode(strip_tags(str_replace('"','""',$row2['products_description']))) . '"';
---
> $row['v_froogle_products_name_' . $lid] = html_entity_decode(strip_tags(str_replace('"','""',$row2['products_name'])));
> $row['v_froogle_products_description_' . $lid] = html_entity_decode(strip_tags(str_replace('"','""',$row2['products_description'])));
There are a few spots where it could be cleaner. And right now it just defaults to 'new' for the condition which seems to be required.
Bookmarks