Product limit not working for Quarterly period

  • Posts: 9
  • Thank you received: 2
11 years 8 months ago #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 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 or Create an account to join the conversation.

  • Posts: 82863
  • Thank you received: 13372
  • MODERATOR
11 years 8 months ago #94919

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' => 2,

to:
'quarterly' => 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 or Create an account to join the conversation.

  • Posts: 9
  • Thank you received: 2
11 years 8 months ago #94936

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 or Create an account to join the conversation.

Time to create page: 0.057 seconds
Powered by Kunena Forum