Automatically generate google product feed
Does anyone know a code snippet in php or a module that can run the google product feed output automatically? I have to log in once a week to generate the file, I would like it to just automatically generate once a week from a cron job.
|
Re: Automatically generate google product feed
Could you please specify what X-Cart version this is in reference to?
Thanks! |
Re: Automatically generate google product feed
we are on 4.7.8
|
Re: Automatically generate google product feed
I'm afraid it has to be custom coded.
|
Re: Automatically generate google product feed
Quote:
Never existed in XC4. It has to be custom coded and tied to the XC internal cron. Then you can run it from the server. If you need professional help with this just let me know. |
Re: Automatically generate google product feed
This module will do the trick. We maintain their code now.
https://www.bcsengineering.com/store/froogle-google-base-x-cart-export-feed.html We have countless customers using it. Thanks, Carrie |
Re: Automatically generate google product feed
Does your Froogle module support product title variants with additional attributes such as color and size as per the Google Product Data Spec.
From Google, regarding the Title attribute: For variants, Include a distinguishing feature such as color or size. We have added Extrafields for Size and Color. Now we need to make sure those attributes are added to the product title for variants. |
Re: Automatically generate google product feed
Quote:
The tool is flexible enough for you to adjust the default title to include other fields in the product database. We can help you implement this if needed. Drop us an email if you'd like a quote. thanks, Carrie |
Re: Automatically generate google product feed
Hello,
I found this message online from Xcart regarding setting up the cron_tasks array. However, at the end Ildar Amankulov states: Meanwhile, the feature is added in X-Cart 4.7.10 What does this mean? What exact feature is added to 4.7.10? Also, does anyone have code that does this and is willing to share? |
Re: Automatically generate google product feed
Sorry,
The possible way to go is 1)Modify the file modules/Froogle/config.php and add a new cron task $cron_tasks[] = array( 'function' => 'func_froogle_cron_update', 'include' => $xcart_dir . '/modules/Froogle/func.php', ); 2)Add the function func_froogle_cron_update The function should include the file modules/Froogle/froogle.php and emulate a regular POST request to create a new feed file. 3) Setup a new cron job according to https://help.x-cart.com/index.php?title=X-Cart:Cron.php_-_Script_for_Periodic_Tasks Meanwhile, the feature is added in X-Cart 4.7.10 |
All times are GMT -8. The time now is 04:23 AM. |
Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.