[Skip to main content](#vessel-content)

#   how to implement this system in hikashop?

##

- **[sadaf3d](/forum/user/46256-sadaf3d "View sadaf3d's Profile")**
- [![sadaf3d's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/46256-sadaf3d "View sadaf3d's Profile") Topic Author
- [ Offline](/forum/user/46256-sadaf3d)

Less More

- Posts: 221
- Thank you received: 8
-

2 years 2 months ago -  2 years 2 months ago [\#362541](#362541) by [sadaf3d](/forum/user/46256-sadaf3d "View sadaf3d's Profile")  *[how to implement this system in hikashop?](/forum/2-general-talk-about-hikashop/908476-how-to-implement-this-system-in-hikashop#362541 "hi Simplified and simulated, my need is: I want to start a volume sales system that is incremental. For example, a customer buys one gigabyte with a 6-month validity period, and when he uses up one gigabyte of his volume in 2 months and runs out, he only needs to buy new volume, and if the time validity of the plan he purchased is over, It is necessary to extend only the time of the plan. 1- I am worried that since this is the first time I want to start such a system, maybe I have missed a scenario and this design is wrong. I would be grateful if you could give more explanations in this scenario. Obviously you are more experienced. 2- If such a system is to be designed with hikashop, I guess I should use hikasub and sell a pair of products together. That is, the usable time and the usable volume of the two products are separate, but they are sold together when the time is sold, and when the time runs out, a custom php function is executed by hikasub or hikashop's cron system. If you have any advice on this, I would appreciate it.")* was created by *[sadaf3d](/forum/user/46256-sadaf3d "View sadaf3d's Profile")*

hi
Simplified and simulated, my need is:
I want to start a volume sales system that is incremental. For example, a customer buys one gigabyte with a 6-month validity period, and when he uses up one gigabyte of his volume in 2 months and runs out, he only needs to buy new volume, and if the time validity of the plan he purchased is over, It is necessary to extend only the time of the plan.
1- I am worried that since this is the first time I want to start such a system, maybe I have missed a scenario and this design is wrong. I would be grateful if you could give more explanations in this scenario. Obviously you are more experienced.
2- If such a system is to be designed with hikashop, I guess I should use hikasub and sell a pair of products together. That is, the usable time and the usable volume of the two products are separate, but they are sold together when the time is sold, and when the time runs out, a custom php function is executed by hikasub or hikashop's cron system. If you have any advice on this, I would appreciate it.

Last edit: 2 years 2 months ago by [sadaf3d](/forum/user/46256-sadaf3d "View sadaf3d's Profile").

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzItZ2VuZXJhbC10YWxrLWFib3V0LWhpa2FzaG9wLzkwODQ3Ni1ob3ctdG8taW1wbGVtZW50LXRoaXMtc3lzdGVtLWluLWhpa2FzaG9wP3RtcGw9bWFya2Rvd24=) or [Create an account](/register) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Away](/forum/user/63-nicolas)

Less More

- Posts: 86322
- Thank you received: 14280
-
-

2 years 2 months ago [\#362544](#362544) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[how to implement this system in hikashop?](/forum/2-general-talk-about-hikashop/908476-how-to-implement-this-system-in-hikashop#362544 "hi Simplified and simulated, my need is: I want to start a volume sales system that is incremental. For example, a customer buys one gigabyte with a 6-month validity period, and when he uses up one gigabyte of his volume in 2 months and runs out, he only needs to buy new volume, and if the time validity of the plan he purchased is over, It is necessary to extend only the time of the plan. 1- I am worried that since this is the first time I want to start such a system, maybe I have missed a scenario and this design is wrong. I would be grateful if you could give more explanations in this scenario. Obviously you are more experienced. 2- If such a system is to be designed with hikashop, I guess I should use hikasub and sell a pair of products together. That is, the usable time and the usable volume of the two products are separate, but they are sold together when the time is sold, and when the time runs out, a custom php function is executed by hikasub or hikashop's cron system. If you have any advice on this, I would appreciate it.")*

Hi,

Indeed, HikaSubcription seems appropriated for what you want to do.
With HikaSubscription, you can configure when the use is notified? So for example, you can notify the user when his subscription expires, and 1 week before it expires in order to tell him that he needs to renew.

When the time runs out, HikaSubscription will fire an event of the Subscription API:
[ www.hikashop.com/support/documentation/1...#subscription\_plugin](https://www.hikashop.com/support/documentation/125-hikaserial-developer.html#subscription_plugin)
So, you want to create a Joomla plugin of the group "hikashop" and implement the events you want to interact with the system using the subscription. That way, when a subscription is created, expires, is extended, your plugin can contact your system using the subscription to notify it of the status of the subscription.

For the volume data top up, you probably want to have a normal HikaShop product, and when it is purchased, your plugin would also implement the events of the order API of HikaShop ( [ www.hikashop.com/support/documentation/6...mentation.html#order](https://www.hikashop.com/support/documentation/62-hikashop-developer-documentation.html#order) ) in order to notify the system using the subscription to notify it that a top up product has been purchased.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzItZ2VuZXJhbC10YWxrLWFib3V0LWhpa2FzaG9wLzkwODQ3Ni1ob3ctdG8taW1wbGVtZW50LXRoaXMtc3lzdGVtLWluLWhpa2FzaG9wP3RtcGw9bWFya2Rvd24=) or [Create an account](/register) to join the conversation.

Board Categories HikaShop Install &amp; Update Product &amp; Category Display Content Creation Sales and Orders Orders management Reports &amp; Statistics Customers Checkout Payment Methods Shipping Methods Import &amp; Export (CSV, XLS…) Specific Features Affilation Taxes Wishlist Vote Carousel &amp; Slider Mass Actions Filters &amp; Search Discount &amp; Coupon Feature Request Integrations Showcase General Talk about HikaShop Development HikaShop 3.0 Beta Translation Commercial Jobs HikaShop Components HikaMarket Market: Feature requests Market: How to? Market: Bug Report HikaSerial General talk about HikaSerial Serial: Bug Report Serial: How to? Support en Français de HikaSerial (French Support) HikaSubscription HikaAuction Auction: Feature requests Auction: How to? Auction: Bug report Hikashop around the world Support en Français (French Support) Russian FAQ. Курс выживания с Hikashop. Частые вопросы и о Расширения Hikashop Наши сайты на Hikashop 日本語版サポート(Japanese Support) Thai German Archives Bug Report How to?

[](/forum/topics/feed/mode-topics?format=feed&type=rss)

Time to create page: 0.046 seconds

[Powered by](/forum/credits) [Kunena Forum](https://www.kunena.org)

[](#top)
