VirtueMart Forum

VirtueMart 2 + 3 + 4 => Virtuemart Development and bug reports => Topic started by: scottshort on September 16, 2014, 19:38:17 PM

Title: Two orders of same product VM 2.6.10
Post by: scottshort on September 16, 2014, 19:38:17 PM

Hello all

I am not sure if this is considered a bug, and I could not find the thread where I read similar discussions in the past - so posting here.  This is NOT the problem where some were getting duplicate orders and payments from the same customer.

We have been trying to update our VM site for some time running into problems with 2.6.0, 2.6.6, 2.6.8, and now testing 2.6.10.  One problem I am having is that two orders can still be placed at the same moment for the same product.  This problem has been present in 2.6.6, 2.6.8 and now 2.6.10. 


My understanding is that the new fix should prevent any product placed in the shopping cart from being added to another shopping cart, right?  Not sure if this is due to a "Pending" status or only a "Booked" status.... I have noticed that products in the shopping cart are added to the "booked" colum in the backend. 

Any suggestions as to why this is still possible??  Any fixes to stop this from occuring??

Thanks
Scott
Title: Re: Two orders of same product VM 2.6.10
Post by: GJC Web Design on September 16, 2014, 20:44:39 PM
This is exactly what my extension prevents - http://extensions.joomla.org/extensions/extension-specific/virtuemart-extensions/virtuemart-orders/25835

No status is invoked in VM until a cart is checked out - my extension attaches a state to the product as soon as it is put in a cart - thereby preventing anyone else and labelling it as such for all other users

See also http://forum.virtuemart.net/index.php?topic=119859.0
Title: Re: Two orders of same product VM 2.6.10
Post by: scottshort on September 16, 2014, 23:37:56 PM
Awesome!
Awesome GJC - I am happy to try your plugin!   ;D - just promise me it won't break my site  :o [i kid]

Thanks for the reply,

Regards
Scott
Title: Re: Two orders of same product VM 2.6.10
Post by: GJC Web Design on September 16, 2014, 23:50:59 PM
It total non intrusive.. a bit complex to set up but all feedback (as you can see on Joomla Extensions) is very positive .. in use on quite a few sites
Here to help if needed.. just contact me thru my site
Title: Re: Two orders of same product VM 2.6.10
Post by: Milbo on September 20, 2014, 20:05:22 PM
should work directly in vm3, imho