- Posts: 23
- Thank you received: 0
AJAX quantity input
- raven-worx
-
Topic Author
- Offline
Less
More
11 years 2 months ago #209471
by raven-worx
AJAX quantity input was created by raven-worx
-- 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.
-- 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.
11 years 2 months ago #209487
by nicolas
Replied by nicolas on topic AJAX quantity input
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".
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.165 seconds