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

#   Product limit not working for Quarterly period

##

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

Less More

- Posts: 9
- Thank you received: 2
-
-

13 years 8 months ago [\#94655](#94655) by [rje2001](/forum/user/6846-rje2001 "View rje2001's Profile")  *[Product limit not working for Quarterly period](/forum/3-bug-report/79320-product-limit-not-working-for-quarterly-period#94655 "When I try to use a product quantity limits, the feature works properly for all period choices (cart, daily, weekly, monthly, and yearly) except Quarterly. Also, the 'Limit Reached' method doesn't...")* was created by *[rje2001](/forum/user/6846-rje2001 "View rje2001's Profile")*

When I try to use a product quantity limits, the feature works properly for all period choices (cart, daily, weekly, monthly, and yearly) except Quarterly. Also, the 'Limit Reached' method doesn't seem to always display for any of the order types - just 'The cart is empty' if you have reached the quantity limit.

thanks,

Jeff

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMtYnVnLXJlcG9ydC83OTMyMC1wcm9kdWN0LWxpbWl0LW5vdC13b3JraW5nLWZvci1xdWFydGVybHktcGVyaW9kP3RtcGw9bWFya2Rvd24=) 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")
- [ Away](/forum/user/63-nicolas)

Less More

- Posts: 86560
- Thank you received: 14307
-
-

13 years 7 months ago [\#94919](#94919) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Product limit not working for Quarterly period](/forum/3-bug-report/79320-product-limit-not-working-for-quarterly-period#94919 "When I try to use a product quantity limits, the feature works properly for all period choices (cart, daily, weekly, monthly, and yearly) except Quarterly. Also, the 'Limit Reached' method doesn't...")*

Regarding the quarterly period, there is indeed a bug (it was a typo).
We've fixed it on our end.
You can fix it by changing the code:
'quaterly' =&gt; 2,

to:
'quarterly' =&gt; 2,

in the file administrator/components/com_hikashop/classes/cart.php

Regarding the error message, it depends how the add to cart is handled. When you are in AJAX mode, only the cart content is updated on the page so the system messages cannot be displayed by the template on the page since the page doesn't change. You should check that the option "Use AJAX when possible for add to cart buttons" of the configuration is off, like it is by default.

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

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

Less More

- Posts: 9
- Thank you received: 2
-
-

13 years 7 months ago [\#94936](#94936) by [rje2001](/forum/user/6846-rje2001 "View rje2001's Profile")  Replied by *[rje2001](/forum/user/6846-rje2001 "View rje2001's Profile")* on topic *[Product limit not working for Quarterly period](/forum/3-bug-report/79320-product-limit-not-working-for-quarterly-period#94936 "When I try to use a product quantity limits, the feature works properly for all period choices (cart, daily, weekly, monthly, and yearly) except Quarterly. Also, the 'Limit Reached' method doesn't...")*

Thanks Nicolas - that resolved the problem with the Quarterly limits. I also had the 'Use AJAX" option set to on, and turning this off results in the expected error messages - thanks for the excellent help!

Jeff

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

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

Time to create page: 0.074 seconds

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