Thread: Froogle Google
View Single Post
  #2  
Old 04-14-2003, 08:35 AM
 
jpsowin jpsowin is offline
 

X-Adept
  
Join Date: Sep 2002
Posts: 459
 

Default Froogle Export Filter

Here is the new export filter.
If you need help with it, I can do work on the side integrating it into your cart if you do not know how, but this should certainly get you started, as it's pretty much all done right here. This took me hours of work and going back and forth with froogle to get this exactly right, so if you have problems then I'd be happy to help, just go to my x-cart services page.

/main/products_export.tpl
Quote:
{* HEADER FOR GOOGLE FEED By Joshua Sowin*}
{* If you remove these headers or change them you do not have permission to use this code. This code is copyright 2003 Joshua Sowin www.gracehost.net *}
{strip}
product_url{$delimiter}
name{$delimiter}
description{$delimiter}
price{$delimiter}
image_url{$delimiter}
category{$delimiter}
offer_id{$delimiter}
shipping
{/strip}
{* END HEADER *}
{section name=prod_num loop=$products}
{strip}
http://www.YOURWEBSITENAME.com/store/customer/product.php?productid={$products[prod_num].productid|replace:"\"":""}&cat={$products[prod_num].categoryid|replace:"\"":""}&partner=froogle{$deli miter}
{$products[prod_num].product|replace:"\"":""}{$delimiter}
{$products[prod_num].fulldescr|replace:"\r":" "|replace:"\n":" "|replace:"\t":" "|replace:"\"":""|replace:",":","|strip_tags}{$del imiter}
{$products[prod_num].price|replace:"\"":""}{$delimiter}
http://www.YOURWEBSITENAME.com/store/image.php?productid={$products[prod_num].productid|replace:"\"":""}{$delimiter}
{$products[prod_num].category|replace:"/":" > "|replace:"\"":""}{$delimiter}
{$products[prod_num].productcode|replace:"\"":""}{$delimiter}
0.00
{/strip}
{/section}
__________________
Joshua Sowin
...taking things one TPL at a time.
Reply With Quote