upload file by mass action

  • Posts: 232
  • Thank you received: 1
  • Hikashop Business
2 years 6 months ago #245187

-- 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

Please Log in or Create an account to join the conversation.

  • Posts: 64453
  • Thank you received: 9307
  • MODERATOR
2 years 6 months ago #245259

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.

Please Log in or Create an account to join the conversation.

Time to create page: 0.070 seconds
Powered by Kunena Forum