- Posts: 221
- Thank you received: 8
how can hikasubscriber run action after plan expire?
1-can hikasubscriber run script after a plan of a user expire? for example send sms to user, or any other.
2-if need create plugin for that?if yes how?
3-is it need cron system to run that script?
4-is there anything such as Mass actions for subscription to visual create custom workflow after subscription (or is there any plan to implement something like that )
Please Log in or Create an account to join the conversation.
www.hikashop.com/support/documentation/6...r-documentation.html
You need to know what trigger are called by hikashop, and when.
So you need some PHP skills
3) Yes, you need to create a cron job to execute your plugin after a period of time, or you can use some other tricks, like, when somebody add a product in his cart, trigger your script
You can find all the triggers in the link I posted here.
Please Log in or Create an account to join the conversation.
1 & 2 - It requires a custom plugin yes.
The triggers are listed in our developer documentation : www.hikashop.com/support/documentation/1...#subscription_plugin
3 - It is best to have a cron task for HikaSubscription process ; so the subscription expiration (and email notification) can be done automatically during the day.
4 - The HikaSubscription plan system do have its "actions" system.
I didn't have any feature request regarding a mass action for subscription nor a visual custom workflow ; but I'm aware.
Regards,
Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.
Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.
Please Log in or Create an account to join the conversation.
thank you JeromeJerome wrote: Hello,
4 - The HikaSubscription plan system do have its "actions" system.
I didn't have any feature request regarding a mass action for subscription nor a visual custom workflow ; but I'm aware.
Regards,
When you say "actions" system , are you mean this picture :
if not , can you give me a link in hikashop demo website?
please describe more about this:
Jerome wrote: Hello,
4 - The HikaSubscription plan system do have its "actions" system.
Please Log in or Create an account to join the conversation.
Yes, I'm talking about that panel.
The "action" plugins can add their configuration in that panel and they will perform their action when the subscription start or expired.
HikaSubscription provide two plugins for the actions, the "groups" and the "acymailing" plugins. Both can be used as a template if you want to create your own action.
Regards,
Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.
Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.
Please Log in or Create an account to join the conversation.
@oxidooxido wrote: 1) If you need/ want to create plugins for hikashop, this the point of start:
www.hikashop.com/support/documentation/6...r-documentation.html
You need to know what trigger are called by hikashop, and when.
So you need some PHP skills
i send you a pm, can you check your inbox in hikashop or enable your email notification? i want send a question about use gantry5
excuse me Jerome for this spam post.
Please Log in or Create an account to join the conversation.