News:

You may pay someone to create your store, or you visit our seminar and become a professional yourself with the silver certification

Main Menu

VM2 allows checkout of out of stock products

Started by e-trader, January 31, 2014, 16:57:22 PM

Previous topic - Next topic

e-trader

Version VM2.0.24b  JM 2.5.14

Hello,

We do not allow customers to order products out of stock. Still, we get orders for products that are out of stock. Scenario:

Customer A has a product in cart
Customer B has same product in cart
Customer A clicks confirm order to go to payment page. Stock for product should be 1 and booked 1. Product is now out of stock.
Customer B now clicks confirm... it places the order! It should check the stock again before allowing this.

Screenshots of settings attached.

Can you reproduce this and confirm it is a bug?

Thanks.

[attachment cleanup by admin]

Milbo

Please update to 2.0.26D, maybe it was fixed meanwhile.
Should I fix your bug, please support the VirtueMart project and become a member
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/

e-trader

Hello Milbo,

With a new clean setup using 2.0.26D I can also checkout products not in stock  :'(

lindapowers


e-trader

Thanks for the tip on the plugin lindapowers, no idea the plug-in existed.

VM1.1 managed the checkout of products not in stock; checkout was refused until the item that was no longer in stock was removed from the cart.
Now I'm praying Milbo can help with a fix within VM2.

Milbo

This is strange, cause we "fixed" that already, you can find old posts here. But maybe the problem is in vm2.0 and I solved it already for vm2.1.
Should I fix your bug, please support the VirtueMart project and become a member
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/

e-trader

Hi Milbo,

Seems like you did not fix it in 2.0.
Could you kindly have a look and see if you can re-produce it?

Thanks.

e-trader


bunglehaze

It is something I experienced for the first time earlier too. I know that customers couldn't order zero stocked items before 2.0.26D though.

I am getting more and more anxious to try 2.1 though Milbo :)

GJC Web Design

If this is because you had two people with the "stock level of 1 product" in their carts simultaneously (there is NO check that someone else hasn't added it to their cart before you do  - this is all BEFORE checkout and confirm)
then one checked out and confirmed (stock level goes to 0)

2nd client checks out and confirms (there is NO check of stock level in 2.0.26 at this point) they will be able to - and you will get an order for a out of stock item

this - as lindapowers mentions - is why I wrote this plugin .. http://extensions.joomla.org/extensions/extension-specific/virtuemart-extensions/virtuemart-orders/25835
http://forum.virtuemart.net/index.php?topic=119859.0

it simply adds a custom field to the product as soon as it is added to a cart - this custom field prevents anyone else from adding it to their cart until it is either deleted from the other cart or a timed script deletes the custom field from dead cart sessions
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

bunglehaze

In my case it was products in a coming soon category that had zero stock level so th problem was with ordering non stock items really

e-trader

Version VM2.0.26d  JM 2.5.18 confirmed still not fixed.
Is VM 2.0 still supported or only VM 2.5 now?

Milbo

vm2.5 is vm2.0, you can directly update to it without hazzle, but the problem is solved in vm3, which is currently still vm2.1 at dev.virtuemart.net. You may test it
Should I fix your bug, please support the VirtueMart project and become a member
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/

zczfwz

#13
Hi Milbo,

Could you give us a simple solution first please? Something like check stock before the final check out step!
I'm running VM 2.6.0

Many thanks!

Milbo

In vm2.6.0a should be a fix to prevent it. Vm3 has another architecture to prevent it.
Should I fix your bug, please support the VirtueMart project and become a member
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/