| ||||||||||
Shopping cart software Solutions for online shops and malls | ||||||||||
|
X-Cart Home | FAQ | Forum rules | Calendar | User manuals | Login |
Froogle Google | ||||
|
|
Thread Tools | Search this Thread |
#21
|
|||||||
|
|||||||
.
I have filled up form and now they said that they will send information to upload database.
|
|||||||
#22
|
|||||||
|
|||||||
.
ok, I sent them data feed and they want me to delete lines, now I don't know what lines! I open my data in exel and saw blank lines between products - Are they Talking about those lines? OR I have some lines blank for shipping charges where I had not put any values are they one?
Please let me know the quick way to delete them lines. Thanks |
|||||||
#23
|
|||||||
|
|||||||
I think I got it!
This does not print any extra lines. It also removes any extra tabs created by multiple carrage returns in the description (I am not sure why this happened with the old code but another |strip did the trick). Anyways, this is what I am using now for product_export.tpl: Code:
Now be carefull! This tpl seems very sensitive to extra spaces or lines in the code, so don't leave any! Also notice I am using the short description, not the full one (I dont use it for display on the website so now it is the "froogle" description). Also please note: You must define and assign the variable $line as the line delimiter in the export.php. Put this at the top: Code:
And this right after $smarty->assign("delimiter", $delimiter);: Code:
This should export data ready for upload to froogle without modification (at least it does for me ). I am not a programmer and do not know all the etiquette so I hope I am not stepping on any toes posting this code seeing as how some of the lines are unchanged from the code posted earlier in the discussion. The idea is quite different though. Anyway, I make no claim to the code; use it for anything you want! Hopefully it helps! |
|||||||
#24
|
|||||||
|
|||||||
Automatic Froogle Update Code - No Templates Needed!
Here's some code that will automatically create a product file and send it to Froogle.
You can call it from X-Cart or it can be run automatically from 'cron' (on a Unix/Linux system). I suggest you install it in the xcart/provider directory. Jeff Code:
|
|||||||
#25
|
|||||||
|
|||||||
.
Hello
So How do I upload that Code?? And After that Will it send product data feeds byself or I will have to use ftp and upload it on froogle's server?? And If it sends automatically, How Do I know it has been sent? Also, Where do I put my User Name and Password for Froogle? Thanks. |
|||||||
#26
|
|||||||
|
|||||||
Did you read the instructions? It's all right there for you
BTW, this looks like a very good mod. I haven't tried it myself, but it looks pretty solid from looking at the code. Great work!
__________________
Joshua Sowin ...taking things one TPL at a time. |
|||||||
#27
|
|||||||
|
|||||||
It has been running in production for the past month
I've been running the above code on my production system for over a month and it works fine. I have it set up in 'cron' to also email me a message when it runs. You can do something like this in your crontab:
Code:
|
|||||||
#28
|
|||||||
|
|||||||
For anybody using Froogle, can you comment on how much traffic you are getting from getting listed there? Thanks...
|
|||||||
#29
|
|||||||||
|
|||||||||
Cloud9, you can install X-Affiliate and assign froogle a partner id and track it that way.
Or, you can use your own tracking system. I have all froogle links pointing to "/froogle/?id=$productid" and I wrote my own tracking and redirection code. There's tons of code out there if you want to use that solution -- just check hostscripts or resourceindex. Hope this helps!
__________________
X-cart Featured Products Manager from http://www.firetanksoftware.com - Put your products where you want, how you want. |
|||||||||
#30
|
|||||||
|
|||||||
Thanks Kurt, but I don't anticipate a problem tracking my stats once I'm in Froogle, I was just wondering what kind of hits stores that are already in Froogle were getting?
HairGuy, thanks so much for that script it made this process a breeze! For those that want to actually see what is being generated, you can modify the php above like this... # $fp = tmpfile(); $fp = fopen("./froogle_temp.txt", "w+"); |
|||||||
|
|||
X-Cart forums © 2001-2020
|