Customizing the Googlebase Data Feed

For general questions and discussions specific to the AbleCommerce 7.0 Asp.Net product.
Post Reply
User avatar
efficiondave
Commander (CMDR)
Commander (CMDR)
Posts: 151
Joined: Tue Dec 02, 2008 10:20 am
Location: St. Louis Missouri
Contact:

Customizing the Googlebase Data Feed

Post by efficiondave » Fri Apr 16, 2010 2:53 pm

I want to make a minor customization to the GoogleBase data feed but digging around in the code a bit it looks like the provider is in the closed CommerceBuilder code.

We just want to be able to add a word before the product name/title.

Anyone know if there's an easy way to do this without buying full source? I've done it manually for now (only 30 products) but would like to have it automated for the future.

David

User avatar
mazhar
Master Yoda
Master Yoda
Posts: 5084
Joined: Wed Jul 09, 2008 8:21 am
Contact:

Re: Customizing the Googlebase Data Feed

Post by mazhar » Sat Apr 17, 2010 8:03 am

The only way I see is to write some code that will adjust the outputted feed file. Have a look at following thread about CSV processing in AbleCommerce viewtopic.php?f=61&t=9828
You can write a custom routine to read and then update your generated CSV file. For example after generating the feed provide your custom routine the full path to feed file with the word you want to have in product name. Then read data from feed file using csv reader and save it back using csv writer after amending the word in product name.

User avatar
jmestep
AbleCommerce Angel
Posts: 8164
Joined: Sun Feb 29, 2004 8:04 pm
Location: Dayton, OH
Contact:

Re: Customizing the Googlebase Data Feed

Post by jmestep » Sat Apr 17, 2010 8:25 am

There is an article on the Wiki about it. I've made customizations to it for W2M and created an admin page to select options for what fields to use in the feed, including using a template field for the UPC code.
http://wiki.ablecommerce.com/index.php/ ... d_Provider
Judy Estep
Web Developer
jestep@web2market.com
http://www.web2market.com
708-653-3100 x209
New search report plugin for business intelligence:
http://www.web2market.com/Search-Report ... -P154.aspx

Post Reply