News:

Support the VirtueMart project and become a member

Main Menu

Two orders of same product VM 2.6.10

Started by scottshort, September 16, 2014, 19:38:17 PM

Previous topic - Next topic

scottshort


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. 


  • If I try to place the same order twice in the same browser session, I do now get a successful message that the product is out of stock and am blocked from adding the product again to my cart - I think this fix was recently added in 2.6.8 maybe??
  • but if I place product in cart in firefox, and then place the same product in cart in a separate browser session [eg chrome], there is no out of stock message presented and product IS placed in cart.  Both orders can be finalized and thus an over-order occuring.

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
Best Regards,
Scott

Live site Joomla 2.5.24; PHP 5.3.28; VM 2.0.24a
Testing VM 2.6.0; 2.6.6

GJC Web Design

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
GJC Web Design
VirtueMart and Joomla Developers - php developers https://www.gjcwebdesign.com
VM4 AusPost Shipping Plugin - e-go Shipping Plugin - VM4 Postcode Shipping Plugin - Radius Shipping Plugin - VM4 NZ Post Shipping Plugin - AusPost Estimator
Samport Payment Plugin - EcomMerchant Payment Plugin - ccBill payment Plugin
VM2 Product Lock Extension - VM2 Preconfig Adresses Extension - TaxCloud USA Taxes Plugin - Virtuemart  Product Review Component
https://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation

scottshort

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
Best Regards,
Scott

Live site Joomla 2.5.24; PHP 5.3.28; VM 2.0.24a
Testing VM 2.6.0; 2.6.6

GJC Web Design

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
GJC Web Design
VirtueMart and Joomla Developers - php developers https://www.gjcwebdesign.com
VM4 AusPost Shipping Plugin - e-go Shipping Plugin - VM4 Postcode Shipping Plugin - Radius Shipping Plugin - VM4 NZ Post Shipping Plugin - AusPost Estimator
Samport Payment Plugin - EcomMerchant Payment Plugin - ccBill payment Plugin
VM2 Product Lock Extension - VM2 Preconfig Adresses Extension - TaxCloud USA Taxes Plugin - Virtuemart  Product Review Component
https://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation

Milbo

Should I fix your bug, please support the VirtueMart project and become a member
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/