View Single Post
  #10  
Old 03-13-2020, 10:28 AM
 
snowman99 snowman99 is offline
 

Member
  
Join Date: Feb 2007
Posts: 21
 

Default 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
__________________
X-cart Ver: 4.7.10 (Linux/Apache)
XCartMods Ultra Template
BCSE Authorize DPM Module
CDSEO 2.2.0
CDSEO Pro Admin
Reply With Quote