| ||||||||||
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 |
#31
|
|||||||||
|
|||||||||
Ah, in that case, I've gotten 9 clicks. I'm sure like 5 of those were in-house clicks.
__________________
X-cart Featured Products Manager from http://www.firetanksoftware.com - Put your products where you want, how you want. |
|||||||||
#32
|
|||||||
|
|||||||
Quote:
How would I set it to download the froogle feed to a directory on my website server? That way I could set a cron tab to do this - give it a quick check and submit it myself. I like to check what is being auto-generated before submitting. |
|||||||
#33
|
|||||||
|
|||||||
How to test it
To test the froogle_update.php script, just set the following variables (in the config.php file) to point to your FTP server:
$froogle_host = your FTP host $froogle_username = your FTP username $froogle_password = your FTP password If you do this, it will send the export file to your FTP server (instead of Google's). |
|||||||
#34
|
|||||||
|
|||||||
It is putting in an extra slash / following the .com - example
Code:
|
|||||||
#35
|
|||||||
|
|||||||
Check the setting of the $xcart_web_dir variable in config.php. It is probably set to '/'.
The product URL uses $http_location to build the link, so check to see if it has a trailing slash. If it does, you could use preg_replace() to remove it. Try this: Code:
You may also need to do the same thing to $image_url If the above does not work, then you may be using a version of X-Cart that I am not familiar with. |
|||||||
#36
|
|||||||
|
|||||||
Thank you, worked like a charm.
|
|||||||
#37
|
|||||||
|
|||||||
Quote:
Hmmm.....I tried this and Google responded as follows: Thank you for submitting your data feed. We have reviewed your feed and need you to make some changes so that we can successfully process your feed. Please remove the first line of "$line = "\n";" from your data feed. Please also separate the header and each product from other products by using a line break. For example, after the shipping field for each product, there should be a line break to separate it from the next product. After you have made this change, please upload a new version of your feed with the same filename as before, and email us so that we can check the new version. Any suggestions ?
__________________
Visit us at http://www.Successfulhosting.com We\'ll make your web site a success! Register your own domain name for only $14.99 at http://DiscountDomainRegistry.com |
|||||||
#38
|
|||||||
|
|||||||
Quote:
Yes use the froogle_update.php mod from HairGuy on the previous page. It is the best!!! I think x-cart developers should include it in the x-cart package. |
|||||||
#39
|
|||||||
|
|||||||
Yep, HairGuy's script rocks. The only things I had to tweak to get my feed accepted by Froogle was to remove the offer_id (I didn't have any), and modify the script to not add an image link if I didn't actually have an image for a product.
|
|||||||
#40
|
|||||||
|
|||||||
Quote:
Oop's I forgot about that. How did you modify the code to not add an image link for products with no images? What's an offer_id? |
|||||||
|
|||
X-Cart forums © 2001-2020
|