Hi, I have website joomla! 3.8.6 and after updating to latest VM 3.2.14 from VM 3.2.12 I now get the error when trying to buy 1 item when only 1 item in stock:
vmError: Max quantity of product Test reached, new quantity in cart set to 1
If I increase the stock level to 2 and add one item to the cart it works like normal. However if only one in stock the error occurs.
I have checked stock min and max levels and they all seem to be 0 or not set
Thank you for any suggestions
Hi, I still have this problem if anyone can help.
Kevin
My fix in components/com_virtuemart/helpers/cart.php in line 1769:
Just change
if ($quantity >= $productsleft ){
to
if ($quantity > $productsleft ){
Is already fixed in SVN.