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

#   maybe bug in hikasubscription

##

- **[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 [\#333655](#333655) by [sadaf3d](/forum/user/46256-sadaf3d "View sadaf3d's Profile")  *[maybe bug in hikasubscription](/forum/58-hikasubscription/902804-maybe-bug-in-hikasubscription#333655 "i use limit system in hikashop to each user can buy product only 3 time. means quantity per user is 3 thank to hikashop Limit system. but in the product with &quot;Renewal&quot; type , if user buy 3 of renewal product for the fourth purchase of that, it is show that you can renew but when you click the page only refreshed. also if you click on the &quot;add to cart&quot; btn in the hikashop listing, then you can see the pop up and it is show the limit reached for that product. are you confirm this problem?")* was created by *[sadaf3d](/forum/user/46256-sadaf3d "View sadaf3d's Profile")*

i use limit system in hikashop to each user can buy product only 3 time. means quantity per user is 3 thank to hikashop Limit system.
but in the product with "Renewal" type , if user buy 3 of renewal product for the fourth purchase of that, it is show that you can renew but when you click the page only refreshed. also if you click on the "add to cart" btn in the hikashop listing, then you can see the pop up and it is show the limit reached for that product.
are you confirm this problem?

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzU4LWhpa2FzdWJzY3JpcHRpb24vOTAyODA0LW1heWJlLWJ1Zy1pbi1oaWthc3Vic2NyaXB0aW9uP3RtcGw9bWFya2Rvd24=) 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 [\#333665](#333665) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[maybe bug in hikasubscription](/forum/58-hikasubscription/902804-maybe-bug-in-hikasubscription#333665 "i use limit system in hikashop to each user can buy product only 3 time. means quantity per user is 3 thank to hikashop Limit system. but in the product with &quot;Renewal&quot; type , if user buy 3 of renewal product for the fourth purchase of that, it is show that you can renew but when you click the page only refreshed. also if you click on the &quot;add to cart&quot; btn in the hikashop listing, then you can see the pop up and it is show the limit reached for that product. are you confirm this problem?")*

Hello,

It's not a bug since you have a limitation system that HIkaSerial can't be aware of.
For HikaSerial rules, the customer do have the right to renew and it proposes the available products to perform renewals.
The fact that a production addition in the cart is refused by another plugin is problematic for your case but is not something which can be known in advance.

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=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzU4LWhpa2FzdWJzY3JpcHRpb24vOTAyODA0LW1heWJlLWJ1Zy1pbi1oaWthc3Vic2NyaXB0aW9uP3RtcGw9bWFya2Rvd24=) 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 [\#333685](#333685) by [sadaf3d](/forum/user/46256-sadaf3d "View sadaf3d's Profile")  Replied by *[sadaf3d](/forum/user/46256-sadaf3d "View sadaf3d's Profile")* on topic *[maybe bug in hikasubscription](/forum/58-hikasubscription/902804-maybe-bug-in-hikasubscription#333685 "i use limit system in hikashop to each user can buy product only 3 time. means quantity per user is 3 thank to hikashop Limit system. but in the product with &quot;Renewal&quot; type , if user buy 3 of renewal product for the fourth purchase of that, it is show that you can renew but when you click the page only refreshed. also if you click on the &quot;add to cart&quot; btn in the hikashop listing, then you can see the pop up and it is show the limit reached for that product. are you confirm this problem?")*

can you say me is it possible to hide that from Hikashop Subscription menu if limitation is reached? or maybe you modify that in the next hikashop release?

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzU4LWhpa2FzdWJzY3JpcHRpb24vOTAyODA0LW1heWJlLWJ1Zy1pbi1oaWthc3Vic2NyaXB0aW9uP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) 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")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86584
- Thank you received: 14325
-
-

5 years 5 months ago [\#333699](#333699) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[maybe bug in hikasubscription](/forum/58-hikasubscription/902804-maybe-bug-in-hikasubscription#333699 "i use limit system in hikashop to each user can buy product only 3 time. means quantity per user is 3 thank to hikashop Limit system. but in the product with &quot;Renewal&quot; type , if user buy 3 of renewal product for the fourth purchase of that, it is show that you can renew but when you click the page only refreshed. also if you click on the &quot;add to cart&quot; btn in the hikashop listing, then you can see the pop up and it is show the limit reached for that product. are you confirm this problem?")*

Hi,

That's not easy to add. First it's quite a lot of code to check that the product still match all the limits setup. So a lot of work would be needed for that.
Also, it adds a lot of processing to run the different MySQL queries for each product for each limit to check if it's possible or not to add it to the cart. It's fine to do that when you're using the add to cart button, since you're doing the check for only one product, but on a products listing or a subscriptions listing, it could lead to the page crashing as this process would run for each product.
Plus, if the users would see the add to cart button and use it normally, until one day the button is removed, they would wonder what's going on and think there is a bug. Now, they get the button and when they click on it, they get a proper error message from the limit system telling them why they can't use the button. I think that this way of working is better for the user.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzU4LWhpa2FzdWJzY3JpcHRpb24vOTAyODA0LW1heWJlLWJ1Zy1pbi1oaWthc3Vic2NyaXB0aW9uP3RtcGw9bWFya2Rvd24=) 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 [\#333711](#333711) by [sadaf3d](/forum/user/46256-sadaf3d "View sadaf3d's Profile")  Replied by *[sadaf3d](/forum/user/46256-sadaf3d "View sadaf3d's Profile")* on topic *[maybe bug in hikasubscription](/forum/58-hikasubscription/902804-maybe-bug-in-hikasubscription#333711 "i use limit system in hikashop to each user can buy product only 3 time. means quantity per user is 3 thank to hikashop Limit system. but in the product with &quot;Renewal&quot; type , if user buy 3 of renewal product for the fourth purchase of that, it is show that you can renew but when you click the page only refreshed. also if you click on the &quot;add to cart&quot; btn in the hikashop listing, then you can see the pop up and it is show the limit reached for that product. are you confirm this problem?")*

hi nicolas and i accept your description and you say right. but what about don't display (blue popup) error show when user click on limitation subscription such as normal product when reached limitation? now it is only refresh when user click on reached limitation reached subscription.
is there anyway to implement that?

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

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzU4LWhpa2FzdWJzY3JpcHRpb24vOTAyODA0LW1heWJlLWJ1Zy1pbi1oaWthc3Vic2NyaXB0aW9uP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) 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")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86584
- Thank you received: 14325
-
-

5 years 5 months ago [\#333751](#333751) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[maybe bug in hikasubscription](/forum/58-hikasubscription/902804-maybe-bug-in-hikasubscription#333751 "i use limit system in hikashop to each user can buy product only 3 time. means quantity per user is 3 thank to hikashop Limit system. but in the product with &quot;Renewal&quot; type , if user buy 3 of renewal product for the fourth purchase of that, it is show that you can renew but when you click the page only refreshed. also if you click on the &quot;add to cart&quot; btn in the hikashop listing, then you can see the pop up and it is show the limit reached for that product. are you confirm this problem?")*

Hi,

So if I understand you correctly, you're saying that when you use an add to cart button on a product with a limit (from the Products&gt;Limits menu of HikaShop) reached on products listing, you get the notification box with the error message from the limit system saying that the product could not be added to the cart because the limit has been reached.
But if you use the "renew" button for a subscription using that same product as a renewal product, you don't get the notification box with the error message.
Did I understand correctly ?
Could you provide a screenshot of the settings of that limit and a screenshot of the product settings please ?

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzU4LWhpa2FzdWJzY3JpcHRpb24vOTAyODA0LW1heWJlLWJ1Zy1pbi1oaWthc3Vic2NyaXB0aW9uP3RtcGw9bWFya2Rvd24=) 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 [\#333773](#333773) by [sadaf3d](/forum/user/46256-sadaf3d "View sadaf3d's Profile")  Replied by *[sadaf3d](/forum/user/46256-sadaf3d "View sadaf3d's Profile")* on topic *[maybe bug in hikasubscription](/forum/58-hikasubscription/902804-maybe-bug-in-hikasubscription#333773 "i use limit system in hikashop to each user can buy product only 3 time. means quantity per user is 3 thank to hikashop Limit system. but in the product with &quot;Renewal&quot; type , if user buy 3 of renewal product for the fourth purchase of that, it is show that you can renew but when you click the page only refreshed. also if you click on the &quot;add to cart&quot; btn in the hikashop listing, then you can see the pop up and it is show the limit reached for that product. are you confirm this problem?")*

> nicolas wrote: Hi,
>
> So if I understand you correctly, you're saying that when you use an add to cart button on a product with a limit (from the Products&gt;Limits menu of HikaShop) reached on products listing, you get the notification box with the error message from the limit system saying that the product could not be added to the cart because the limit has been reached.
> But if you use the "renew" button for a subscription using that same product as a renewal product, you don't get the notification box with the error message.
> Did I understand correctly ?

Yes exactly... I create screenshot or maybe screencast as soon as possible

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

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzU4LWhpa2FzdWJzY3JpcHRpb24vOTAyODA0LW1heWJlLWJ1Zy1pbi1oaWthc3Vic2NyaXB0aW9uP3RtcGw9bWFya2Rvd24=) 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.082 seconds

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