VirtueMart Forum

VirtueMart 2 + 3 + 4 => Virtuemart Development and bug reports => Topic started by: MAD King on September 11, 2018, 16:53:43 PM

Title: vmError: Max quantity of product reached, new quantity in cart set to [solved]
Post by: MAD King on September 11, 2018, 16:53:43 PM
Hello,

Getting this error:

QuoteError
vmError: Max quantity of product reached, new quantity in cart set to

vmError: Max quantity of product XXXXXXXXXX reached, new quantity in cart set to 3

VirtueMart 3.2.14
Joomla! 3.8.12
PHP 7.2.9
Title: Re: vmError: Max quantity of product reached, new quantity in cart set to
Post by: Studio 42 on September 11, 2018, 18:31:11 PM
You use stock handel.
You can disable it in config, if you want that Virtuemart not restrict max quantity.
And control if in your product you have not restrict quantity too.
Title: Re: vmError: Max quantity of product reached, new quantity in cart set to
Post by: Jörgen on September 11, 2018, 18:36:37 PM
Do You have vmdebug ON ?

Right now is the VM 3.2.14 not PHP 7.2 ready. The 3.2.15 is very near to be 7.2 ready. Please use PHP 7.0 meanwhile.

Jörgen @ Kreativ Fotografi
Title: Re: vmError: Max quantity of product reached, new quantity in cart set to
Post by: MAD King on September 11, 2018, 22:30:08 PM
Quote from: Jörgen on September 11, 2018, 18:36:37 PM
Do You have vmdebug ON ?

Right now is the VM 3.2.14 not PHP 7.2 ready. The 3.2.15 is very near to be 7.2 ready. Please use PHP 7.0 meanwhile.

Jörgen @ Kreativ Fotografi

vmdebug is OFF.

When I use PHP 7.0 I get a message from Joomla

QuoteYour PHP version, 7.0.31, is only receiving security fixes at this time from the PHP project. This means your PHP version will soon no longer be supported. We recommend planning to upgrade to a newer PHP version before it reaches end of support on 2018-09-03. Joomla will be faster and more secure if you upgrade to a newer PHP version (PHP 7.x is recommended). Please contact your host for upgrade instructions.

EDIT:

vmdebug was ON. Somehow, it turned on, but I never touched it. Funny. Thanks for pointing on this direction. Still leaves the Joomla note on the PHP version.
Title: Re: vmError: Max quantity of product reached, new quantity in cart set to
Post by: Studio 42 on September 11, 2018, 22:41:43 PM
Forget the message PHP version 7.0.31 .... Some Joomla sites use php 5.4. I really do not understand why Joomla Team decided to show this, it only panic all Joomla administrators, site owner for nothing.
Title: Re: vmError: Max quantity of product reached, new quantity in cart set to
Post by: MAD King on September 11, 2018, 22:49:59 PM
Quote from: Studio 42 on September 11, 2018, 22:41:43 PM
Forget the message PHP version 7.0.31 .... Some Joomla sites use php 5.4. I really do not understand why Joomla Team decided to show this, it only panic all Joomla administrators, site owner for nothing.

That is correct. They got me already. haha