VirtueMart Forum

VirtueMart 2 + 3 + 4 => General Questions => Topic started by: jabba on July 12, 2018, 09:54:52 AM

Title: Error after update to 3.2.14
Post by: jabba on July 12, 2018, 09:54:52 AM
Hello, i'm developing a plugin that adds multiple products to the cart from. From the last version of Virtuemart everything is ok. From the version 3.2.14 if I try to add multiple products i get the error "Please enter a valid quantity for this item". Did something changed in the way we can add products to cart? Where can i find some documentation about it?
Thank you!
Title: Re: Error after update to 3.2.14
Post by: Jörgen on July 12, 2018, 10:39:38 AM
I don´t remember any mention about this. My best advise right now is to make a file comparison between the earlier version and VM 3.2.14.

regards

Jörgen @ Kreativ Fotografi
Title: Re: Error after update to 3.2.14
Post by: jabba on July 12, 2018, 10:47:07 AM
Thank you for your answer. Is there a list of the modified files? Or do you know in which file the adding to cart is handled? Thank you
Title: Re: Error after update to 3.2.14
Post by: GJC Web Design on July 12, 2018, 10:51:11 AM
fe com_virtuemart/helpers/cart.php + the JS  com_virtuemart\assets\js\vmprices.js
Title: Re: Error after update to 3.2.14
Post by: jenkinhill on July 12, 2018, 11:12:32 AM
Quote from: jabba on July 12, 2018, 10:47:07 AM
Is there a list of the modified files?

All changes are noted in the repository.  http://dev.virtuemart.net/projects/virtuemart/repository
Title: Re: Error after update to 3.2.14
Post by: jabba on July 12, 2018, 11:16:39 AM
Thank you all for your answers