Export to Google Base

Hi



Export to google base is faulty…



No Price in price column ie 0



NOT GOOD!



EDIT* Even shows minus values on some ie -1.72

seems like no one is bothered by this. It is driving me mad

[quote name=‘BarryH’]Hi



Export to google base is faulty…



No Price in price column ie 0



NOT GOOD!



EDIT* Even shows minus values on some ie -1.72[/QUOTE]



Hello:



I am experiencing the same problem. Google Export is exporting zero in price column.



Were you able to resolve this issue?

Try the fix posted by Andy Ye here





[url]http://forum.cs-cart.com/vbugs.php?do=view&vbug_id=2062[/url]


[QUOTE]At the moment you can update your cart by modifying the controllers/admin/exim.php file:



Replace line 701:



} elseif (strval($v) == ‘linked_field’ || $v == ‘#linked_field’) {



With:



} elseif (strval($v) == ‘linked_field’ || strval($v) == ‘#linked_field’) {





[/QUOTE]

ty s-coombs just seen that the bug report was updated. This does not fix the issue

[quote name=‘leoloco’]Hello:



I am experiencing the same problem. Google Export is exporting zero in price column.



Were you able to resolve this issue?[/QUOTE]



We also have this issue which is a serious problem as we have just updated our prices!

I have the same issue on the site with the upgraded version. My other version, which I did not install the update on, shows the prices fine.



Google REQUIRES prices!!!

The fix is here:



[url]http://forum.cs-cart.com/vbugs.php?do=view&vbug_id=2062[/url]

[quote name=‘AmitP’]seems like no one is bothered by this. It is driving me mad[/QUOTE]



Just found out about this issue after our products went flatline - really pissed about this.



Thanks for the fix - but seriously cs-cart - get your f***ing act together, we may have just renewed our subscription, but we’re certainly not waving your flag over here…

What version does this effect?



Thanks

Just to make things easier, here it is again…



Please find the source code block commented “Build the list of joins” in the controllers/admin/exim.php and replace it with the code below:





// Build the list of joins

if (!empty($pattern[‘references’])) {

foreach ($pattern[‘references’] as $table => $data) {

$ref = array();

foreach ($data[‘reference_fields’] as $k => $v) {

if (strval($v) == ‘key’ || strval($v) == ‘#key’) {

$_val = (sizeof($primary_key) == 1) ? reset($primary_key) : ‘’;

} elseif (strval($v) == ‘linked_field’ || strval($v) == ‘#linked_field’) {

$_val = $pattern[‘table’] . “.” . $k;

} elseif (strpos($v, ‘@’) !== false) {

$_opt = str_replace(‘@’, ‘’, $v);

$_val = “'” . $options[$_opt] . “'”;

} else {

$_val = “‘$v’”;

}



$ref[] = “$table.$k = $_val”;

}



$joins[] = $data[‘join_type’] . ’ JOIN ?:’ . $table . " as $table ON " . implode(’ AND ', $ref);

}

}

An XML addon for Google Merchant (formerly Google Base) and many of the other major shopping aggregators is available here:

[url]http://www.ez-ms.com/addonproducts/xml-data-feeds.html[/url]



Documentation can be obtained from the attachements tab on the above product details page or from here:

[url]http://www.ez-ms.com/docs/obj_feed_addon.pdf[/url]



The addon supports many of the extended Google Attributes such as ISBN, MPN, UPC, etc. It also creates the “product_type” from the parent category(s)…



The two XML file formats have been tested with Google Merchant (formerly Google Base), Shopping.com and Price Grabber.com. It is known NOT to work with shopmainia.com since they haver their own custom format.



I expect it will also work with Shopzilla, but I have not received any confirmed testing.

I just wanted to mention that tbirnseth’s data feed addon referenced above is THE BEST solution for data feeds that I’ve used so far with CS-Cart. The built in data feed addon is extremely cumbersome. I have used the built-in Google Base export and that works, but to me, this addon is the berries. I have accounts with PriceGrabber.com and Google Merchant and my store is feeding data to both of those daily, automatically, with no intervention on my part.



I also have an account with Shopzilla (currently unfunded) and am pretty sure this data feed addon will work with that shopping engine also.



If you are interested in getting your products into comparison shopping sites, go get this addon NOW and put your feeds on autopilot.



This addon is MUCH MORE configurable than the simple Google Base export built in to the cart.



I highly recommend it. And tbirnseth’s support in getting it working perfectly with my site has been top notch.