how can hikasubscriber run action after plan expire?

  • Posts: 170
  • Thank you received: 7
3 years 2 months ago #329396

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

Last edit: 3 years 2 months ago by sadaf3d.

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

  • Posts: 223
  • Thank you received: 26
  • Hikashop Business
3 years 2 months ago #329402

1) If you need/ want to create plugins for hikashop, this the point of start:
https://www.hikashop.com/support/documentation/62-hikashop-developer-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 :P
You can find all the triggers in the link I posted here.

The following user(s) said Thank You: sadaf3d

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

  • Posts: 26000
  • Thank you received: 4004
  • MODERATOR
3 years 2 months ago #329400

Hello,

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.

  • Posts: 170
  • Thank you received: 7
3 years 2 months ago #329432

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

thank you Jerome
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.

Attachments:

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

  • Posts: 26000
  • Thank you received: 4004
  • MODERATOR
3 years 2 months ago #329455

Hello,

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.

  • Posts: 170
  • Thank you received: 7
3 years 2 months ago #329524

oxido wrote: 1) If you need/ want to create plugins for hikashop, this the point of start:
https://www.hikashop.com/support/documentation/62-hikashop-developer-documentation.html

You need to know what trigger are called by hikashop, and when.
So you need some PHP skills

@oxido
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.

Moderators: Obsidev
Time to create page: 0.082 seconds
Powered by Kunena Forum