X-Cart: shopping cart software

X-Cart forums (https://forum.x-cart.com/index.php)
-   Dev Questions (https://forum.x-cart.com/forumdisplay.php?f=20)
-   -   Froogle feed help (https://forum.x-cart.com/showthread.php?t=3384)

123computerbooks 06-29-2003 05:44 PM

Froogle feed help
 
I took Joshuas generous froogle code and modified it for 3.4.3 which I just upgraded , having a prob witht he product_url in the csv strip.

Code is below

Code:

{* 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}
ISBN
{/strip}
{* END HEADER *}
{section name=prod_num loop=$products}
{strip}
http://www.123computerbooks.com/xcart/customer/product.php?productid={$products[prod_num].productid|replace:"\"":""}&cat={$products[prod_num].categoryid|replace:"\"":""}&partner=froogle{$delimiter}
{$products[prod_num].product|replace:"\"":""}{$delimiter}
{$products[prod_num].fulldescr|replace:"\r":" "|replace:"\n":" "|replace:"\t":" "|replace:"\"":""|replace:",":","|strip_tags}{$delimiter}
{$products[prod_num].price|replace:"\"":""}{$delimiter}
{$products[prod_num].thumbnail|replace:"\"":""}{$delimiter}
{$products[prod_num].category|replace:"/":" > "|replace:"\"":""}{$delimiter}
{$products[prod_num].productcode|replace:"\"":""}{$delimiter}{$products[prod_num].param00|replace:"\"":""}{$delimiter}
{/strip}
{/section}



In excel the output is this

http://www.123computerbooks.com/xcart/customer/product.php?productid=&cat=&partner=froogle

the productid= isnt being stripped any ideas? it should be stripped like this

http://www.123computerbooks.com/xcart/customer/product.php?productid="missing this number"&cat=&partner=froogle

snorocket 08-16-2003 06:39 PM

PM groovico
 
http://www.firetank.net/mm

get the froogle module

adpboss 08-16-2003 07:28 PM

I agree wholeheartedly. We need to support FireTank as much as possible.

The X-Cart team is great, but a little slow to respond to some of these more important E-marketing functions.

Another advantage to getting the froogle module is that it will be freely supported, allowing you to keep up with any changes that Google makes to the Froogle structure.


All times are GMT -8. The time now is 02:52 PM.

Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2021, Jelsoft Enterprises Ltd.