VirtueMart Forum

VirtueMart 2 + 3 + 4 => Virtuemart Development and bug reports => Topic started by: mojino on December 17, 2011, 18:17:33 PM

Title: "Please enter a valid quantity for this item"
Post by: mojino on December 17, 2011, 18:17:33 PM
Hello,
I can add products to the cart from category view or product view, but then if I try to change the quantity of the product from the cart page (using the icon "vmicon vm2-add_quantity_cart") I receive the message: "Please enter a valid quantity for this item" and "Product quantity not successfully updated" below.
My site is in spanish.
Could you tell me how to fix it?
Thanks.
Title: Re: "Please enter a valid quantity for this item"
Post by: Studio 42 on December 17, 2011, 21:29:54 PM
HI,
Plz try to get the file from SVN and redo a test, thanks

FIxed At revision: 5114
Title: Re: "Please enter a valid quantity for this item"
Post by: mojino on December 18, 2011, 10:35:11 AM
Thank you and sorry again, but I'm not sure which version is the 5114
I forgot to mention that I updated the 1.9.8.RC2M version (which worked fine) with 2.0.0_RC3 version, dated 12/16/2011, following the instructions to upgrade.
The problem came after that.
Thanks.
Title: Re: "Please enter a valid quantity for this item"
Post by: PRO on December 19, 2011, 17:17:35 PM
version 5114 and all versions after will have the fix.

https://dev.virtuemart.net/svn/virtuemart/trunk/virtuemart/components/com_virtuemart/helpers/

cart.php

Title: Re: "Please enter a valid quantity for this item"
Post by: mojino on December 19, 2011, 19:18:24 PM
Ok.
Replaced the files and working fine.
Thanks.