AJAX quantity input

  • Posts: 23
  • Thank you received: 0
10 years 3 weeks ago #209471

-- HikaShop version -- : 2.5.0
-- Joomla version -- : 3.4.3
-- PHP version -- : 5.4

Hi,

i've enabled the AJAX quantity input on my product pages. Some products also have a quantity specified.
The AJAX input now displays an alert popup when this quantity is exceeded.

Is there an easy way to get rid of this alert popup and let the customer even order more products than there are in stock?
With easy i mean a central template override? I wasn't able to find it so far.

thank you.
regards.

Please Log in or Create an account to join the conversation.

  • Posts: 84233
  • Thank you received: 13673
  • MODERATOR
10 years 3 weeks ago #209487

Hi,

Overriding the popup is possible. But I don't see the point since when you will click on the add to cart button, the server-side check will limit the add to cart to the number of products available in stock (which is why there is this precheck in javascript).
If you don't want to prevent customers from purchasing your products because of the stock, then set the stock of your products to "unlimited".

Please Log in or Create an account to join the conversation.

Time to create page: 0.051 seconds
Powered by Kunena Forum