I searched for a long time for a module to submit an RSS feed of a client’s Ubercart products to Google Merchant but as it turns out the best way is through views. Using this technique you can update the fields and the feed as Google changes their requirements. Lord knows they love to change their minds. It also allows you to submit a different product title and description than what shows up on your website so you can fine tune it for Product Search.
I have it set to tack the SKU on to the back of the Product Tile but you can easily change and customize as needed. I also set it to default to “in stock”. If you actually track the stock on your site you will need to edit that.
As of yet, I have not figured out how to submit Attributes or Options.
What you will need:
You will need to enable XML Format.
What to do:
- Add this Field Group to your “Product” Content Type: group_google_merchant
- Add Submit to Google field to the Field Group:
- Label: Submit to Google
- Name: field_submit_to_google
- Type: Text
- Form: Check box
- Allowed values list: Yes No
- Number of values: 1
- Default Value: Yes
- Add Google Product Title field to the Field Group:
- Label: Google Product Title
- Name: field_google_product_title
- Type: Text
- Form: Text Field
- Number of values: 1
- Add Google Product Category field to the Field Group:
- Label: Google Product Category
- Name: field_google_product_category
- Type: Text
- Form: Text Field
- Number of values: 1
- Add Google Product Brand field to the Field Group:
- Label: Google Product Brand
- Name: field_google_product_brand
- Type: Text
- Form: Text Field
- Number of values: 1
- Add Google Product Description field to the Field Group:
- Label: Google Product Description
- Name: field_google_product_description
- Type: Text
- Form: Text Area
- Number of values: 1
- Add Google Product Condition field to the Field Group:
- Label: Google Product Description
- Name: field_google_product_condition
- Type: Text
- Form: Check Box
- Allowed values list: new used refurbished
- Number of values: 1
- Default Value: new
- Import this Google Merchant XML View Export
- Update the Node: Path link Rewrite to contain your website name
- Update the Store info in this Google Merchant XML Template File, save it as php and upload it to your themes directory.
- Fill out the fields on your products and save
- Your feed can be found at www.yoursite.com/google_merchant.xml
- Submit your feed to Google Merchant
Based on the following:
http://www.dzieyzone.com/content/06-07-2010/publish-ubercart-product-google-base-using-views
http://www.buentec.com/knowledge/ubercart-and-google-merchant-integration

