- Posts: 252
- Thank you received: 1
upload file by mass action
10 years 2 months ago #245187
by twscott
upload file by mass action was created by twscott
-- HikaShop version -- : HikaShop Business 2.6.3
-- Joomla version -- : 3.5
-- PHP version -- : 5.5.12
-- Browser(s) name and version -- : Chrome
Hi,
Good day.
I want to sync the products data and upload the product images file to a remote site once a day.
I can write a php program for uploading, but what should I set in the mass action to trigger it ?
Thanks
Best Regards
Scott
-- Joomla version -- : 3.5
-- PHP version -- : 5.5.12
-- Browser(s) name and version -- : Chrome
Hi,
Good day.
I want to sync the products data and upload the product images file to a remote site once a day.
I can write a php program for uploading, but what should I set in the mass action to trigger it ?
Thanks
Best Regards
Scott
Please Log in or Create an account to join the conversation.
10 years 2 months ago #245259
by nicolas
Replied by nicolas on topic upload file by mass action
Hi,
Why would you use the mass actions system for that ?
Just create a small Joomla plugin of the group HikaShop and implementing the onHikashopCronTrigger trigger of HikaShop and call your script from there.
You can see an example of such plugin in the plugins/hikashop/rates/ folder since the HikaShop currency rates auto update plugin is also triggered once a day to update the currency rates.
Why would you use the mass actions system for that ?
Just create a small Joomla plugin of the group HikaShop and implementing the onHikashopCronTrigger trigger of HikaShop and call your script from there.
You can see an example of such plugin in the plugins/hikashop/rates/ folder since the HikaShop currency rates auto update plugin is also triggered once a day to update the currency rates.
Please Log in or Create an account to join the conversation.
Time to create page: 0.150 seconds