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

#   is it possible generate subscription for old perches?

##

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

5 years 5 months ago [\#333654](#333654) by [sadaf3d](/forum/user/46256-sadaf3d "View sadaf3d's Profile")  *[is it possible generate subscription for old perches?](/forum/58-hikasubscription/902803-is-it-possible-generate-subscription-for-old-perches#333654 "-- HikaShop version -- : 4.4.3 -- PHP version -- : 7.3  hi i have some product in my hikashop and i want to know is it possible to use this subscription for products that sell before install hikasubscription? because probably when hikasubscription will install, then there is no subscription for users that they purchase product before install that. maybe you say no way to do that BUT: 1-what about use direct query to database? 2-can i write some plugin for that?(i know little PHP,joomla,sql and other) thank you")* was created by *[sadaf3d](/forum/user/46256-sadaf3d "View sadaf3d's Profile")*

-- HikaShop version -- : 4.4.3
-- PHP version -- : 7.3

hi
i have some product in my hikashop and i want to know is it possible to use this subscription for products that sell before install hikasubscription? because probably when hikasubscription will install, then there is no subscription for users that they purchase product before install that.
maybe you say no way to do that BUT:
1-what about use direct query to database?
2-can i write some plugin for that?(i know little PHP,joomla,sql and other)
thank you

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzU4LWhpa2FzdWJzY3JpcHRpb24vOTAyODAzLWlzLWl0LXBvc3NpYmxlLWdlbmVyYXRlLXN1YnNjcmlwdGlvbi1mb3Itb2xkLXBlcmNoZXM/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[Jerome](/forum/user/80-jerome "View Jerome's Profile")**
- [![Jerome's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar80.png)](/forum/user/80-jerome "View Jerome's Profile")
- [ Offline](/forum/user/80-jerome)
- HikaShop core developer

Less More

- Posts: 26402
- Thank you received: 4081
-
- [](http://obsi.dev)
-

5 years 5 months ago [\#333666](#333666) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[is it possible generate subscription for old perches?](/forum/58-hikasubscription/902803-is-it-possible-generate-subscription-for-old-perches#333666 "-- HikaShop version -- : 4.4.3 -- PHP version -- : 7.3  hi i have some product in my hikashop and i want to know is it possible to use this subscription for products that sell before install hikasubscription? because probably when hikasubscription will install, then there is no subscription for users that they purchase product before install that. maybe you say no way to do that BUT: 1-what about use direct query to database? 2-can i write some plugin for that?(i know little PHP,joomla,sql and other) thank you")*

Hello,

While serials can be "refresh", the subscription is created in the same time than the order.
You have ways to create manually subscriptions in the backend.
Afterwards, yes you can write a custom plugin to add a special button and perform actions like the "refresh" button is doing ; but I'm afraid that it would require important quantity of code to handle all special cases.

Regards,

---

Jerome - Obsidev.com
HikaMarket &amp; HikaSerial developer / HikaShop core dev team.

The following user(s) said Thank You: [sadaf3d](/forum/user/46256-sadaf3d "View sadaf3d's Profile")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzU4LWhpa2FzdWJzY3JpcHRpb24vOTAyODAzLWlzLWl0LXBvc3NpYmxlLWdlbmVyYXRlLXN1YnNjcmlwdGlvbi1mb3Itb2xkLXBlcmNoZXM/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

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

5 years 5 months ago -  5 years 5 months ago [\#333684](#333684) by [sadaf3d](/forum/user/46256-sadaf3d "View sadaf3d's Profile")  Replied by *[sadaf3d](/forum/user/46256-sadaf3d "View sadaf3d's Profile")* on topic *[is it possible generate subscription for old perches?](/forum/58-hikasubscription/902803-is-it-possible-generate-subscription-for-old-perches#333684 "-- HikaShop version -- : 4.4.3 -- PHP version -- : 7.3  hi i have some product in my hikashop and i want to know is it possible to use this subscription for products that sell before install hikasubscription? because probably when hikasubscription will install, then there is no subscription for users that they purchase product before install that. maybe you say no way to do that BUT: 1-what about use direct query to database? 2-can i write some plugin for that?(i know little PHP,joomla,sql and other) thank you")*

Thank you
when you say "refresh" are you mean "Refresh associations" btn in each Order?
[ ![2021-06-21&#95;11-26-47.png](/forum/attachment/53048) ](/forum/attachment/53048 "...1&#95;11-26-47.png")

maybe for some product we have no serial associated but have subscription plan. then this button is not work. 1- Am i right?
2-is there anyway for already purchased product to generate subscription according a plan?

- [ ![2021-06-21&#95;11-26-47.png](/forum/attachment/53048) ](/forum/attachment/53048 "...1&#95;11-26-47.png") [ ](/forum/attachment/53048?download=1 "...1&#95;11-26-47.png")

Last edit: 5 years 5 months ago by [Jerome](/forum/user/80-jerome "View Jerome's Profile"). Reason: remove full quote message

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzU4LWhpa2FzdWJzY3JpcHRpb24vOTAyODAzLWlzLWl0LXBvc3NpYmxlLWdlbmVyYXRlLXN1YnNjcmlwdGlvbi1mb3Itb2xkLXBlcmNoZXM/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[Jerome](/forum/user/80-jerome "View Jerome's Profile")**
- [![Jerome's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar80.png)](/forum/user/80-jerome "View Jerome's Profile")
- [ Offline](/forum/user/80-jerome)
- HikaShop core developer

Less More

- Posts: 26402
- Thank you received: 4081
-
- [](http://obsi.dev)
-

5 years 5 months ago [\#333726](#333726) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[is it possible generate subscription for old perches?](/forum/58-hikasubscription/902803-is-it-possible-generate-subscription-for-old-perches#333726 "-- HikaShop version -- : 4.4.3 -- PHP version -- : 7.3  hi i have some product in my hikashop and i want to know is it possible to use this subscription for products that sell before install hikasubscription? because probably when hikasubscription will install, then there is no subscription for users that they purchase product before install that. maybe you say no way to do that BUT: 1-what about use direct query to database? 2-can i write some plugin for that?(i know little PHP,joomla,sql and other) thank you")*

Hello,

Yes I'm talking about the "refresh association" button.
But I explained that this button is just for serials, it cannot (and won't) work with subscription.

That's why, I added (for your second question) :

> Afterwards, yes **you can write a custom plugin** to add a special button and perform actions **like** the "refresh" button is doing ; but I'm afraid that it would require important quantity of code to handle all special cases.

The development of a new custom plugin would do something "like" the refresh association button, it won't do the same thing but the idea beneath the code would be similar. It means that you can use part of the code as starting point for a new custom plugin.

Regards,

---

Jerome - Obsidev.com
HikaMarket &amp; HikaSerial developer / HikaShop core dev team.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzU4LWhpa2FzdWJzY3JpcHRpb24vOTAyODAzLWlzLWl0LXBvc3NpYmxlLWdlbmVyYXRlLXN1YnNjcmlwdGlvbi1mb3Itb2xkLXBlcmNoZXM/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) 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?

Moderators: [Obsidev](/forum/user/7040-obsidev "View Obsidev's Profile")

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

Time to create page: 0.057 seconds

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