VirtueMart Forum

VirtueMart 2 + 3 + 4 => General Questions => Topic started by: suzey on November 24, 2012, 17:33:55 PM

Title: help needed with shopping cart
Post by: suzey on November 24, 2012, 17:33:55 PM
Hi,

I got a 4 cps of product in stock. When I try to buy 10 cps it says that there are only 4 products in the store, and it adds 4 cps to the shopping cart. Then when I again set 10 cps and click on the "add to cart" it says again that there are only four cps and adds them again, so in the shopping cart I have now two times 4 x product and I can do that all day long, though there were only 4 copies in stock...

Another thing is that the only way to remove product from the shopping cart is to set the quantity to zero. 'Remove from the cart' doesn't work.

Anyone have an idea how to correct these?
Title: Re: help needed with shopping cart
Post by: jenkinhill on November 24, 2012, 18:58:25 PM
http://forum.virtuemart.net/index.php?topic=79799
Title: Re: help needed with shopping cart
Post by: suzey on November 24, 2012, 19:44:32 PM
Right, sorry, here are the versions:
PHP Version - 5.2.16
Joomla! Version - Joomla! 2.5.8 Stable [ Ember ]
Joomla! Platform Version - Joomla Platform 11.4.0 Stable [ Brian Kernighan ]
Virtuemart version - 2.0.14
Title: Re: help needed with shopping cart
Post by: jenkinhill on November 25, 2012, 11:01:06 AM
Not sure about this, but AFAIK the stock level is not updated until the confirm button is hit. (I don't need or use stock control)

Your PHP version is too old to correctly support Joomla 2.5 and VirtueMart 2 - minimum should be 5.2.4 and preferably 5.3+
Title: Re: help needed with shopping cart
Post by: suzey on November 25, 2012, 21:49:58 PM
Thanks for note about PHP, it's updated now.

Yes, you're right, but I noticed that it's only happening with product that use "vm-Custom, stockable variants' plugin. As these products are t-shirts with various sizes (and yes, they're set as a 'child' products). When I add to a cart products that are in only one variant, they do not duplicate in the cart.