Re: [Module] Froogle Static export
Posted: Sun Nov 15, 2009 3:44 pm
Hi
Do it support Google Merchant Center ? Have any update for it ? Thanks.
Do it support Google Merchant Center ? Have any update for it ? Thanks.
The customer community
http://www.shoppingcartcommunity.com/forum/
http://www.shoppingcartcommunity.com/forum/viewtopic.php?t=46
It should work with Google Merchant center (it's the same ruddy thing as Froogle, Google Base, etc... bloody name changing marketing idiots @ Google).sina3136 wrote:Hi
Do it support Google Merchant Center ? Have any update for it ? Thanks.
Hi Ryan,ryanSF wrote:Hi Martin - Great contribution here. I'm looking to see if I can get some help with an export similar to this one, but that spits out a CSV file. Can you PM/email me?
Martin wrote:Hi Ryan,ryanSF wrote:Hi Martin - Great contribution here. I'm looking to see if I can get some help with an export similar to this one, but that spits out a CSV file. Can you PM/email me?
I'd love to be able to help but my time is currently incredibly limited due to a newborn, lack of sleep and too many other jobs that need doing.. A CSV should be relatively simple to achieve though if you simply remove the headers and footers and implode the item values (without headers/labels) into single lines with a line return \n or \r at the end...
Hope that helps...
Code: Select all
$desc = strip_tags($row['proddesc']);
Code: Select all
$desc = strip_tags($row['prodmetadesc']);
Code: Select all
%%Include._myvendors/vendorName/productDetails.html%%
Code: Select all
Support:
========
http://www.interspired.net/forum/viewtopic.php?f=12&t=46
Code: Select all
Support:
========
http://www.shoppingcartcommunity.net/forum/viewtopic.php?f=12&t=46
Code: Select all
/* ==== Configurable variables ==== */
Code: Select all
// The site's the default weight unit
$weightUnit = "ounces";
Code: Select all
// Addition of weight variable if available
if($row['prodweight'] > 0) {
$entry[] = sprintf("<g:weight>%s</g:weight>", floatval($row['prodweight']));
}
Code: Select all
// Addition of weight variable if available
if($row['prodweight'] > 0) {
$entry[] = sprintf("<g:weight>%s $weightUnit</g:weight>", floatval($row['prodweight']));
}
Code: Select all
/* ==== Configurable variables ==== */
Code: Select all
// Accepted payment types array. Edit as needed.
$paymentAccepted = array("Visa", "MasterCard", "Discover", "American Express", "Cash", "Checks", "Cheques", "Money Orders");
Code: Select all
$entry[] = sprintf("<g:condition>new</g:condition>");
Code: Select all
// Payment methods accepted
foreach($paymentAccepted as $payType) {
$entry[] = sprintf("<g:payment_accepted>$payType</g:payment_accepted>");
}
Code: Select all
$entry []= sprintf("<g:department><![CDATA[%s]]></g:department>", isc_html_escape($row['catname']));
Code: Select all
$entry []= sprintf("<c:department:string><![CDATA[%s]]></c:department:string>", isc_html_escape($row['catname']));