VirtueMart 2 > Administration & Configuration VM 2

VM2: Stock and order status

(1/2) > >>

edek:
Hello

I have problem. When I change the order status to "CONFIRMED", the product is not removed from the stock and another user may still order this same product. Product are removed from stock only when i set status to "SHIPPED". How to fix it?

best regards
edek

Venkko:
Perhaps this will help you.

http://forum.virtuemart.net/index.php?topic=94680.0

Find the real stock and virtual stock part...

edek:
Thanks Vennko, but I could not find solution in this thread.
I don't have option to turn on/off manage stock.

Venkko:
Hi!

What ment was this part.


--- Quote ---You have real stock and virtual stock(ordered but not shipped).
The real stock is only decreased when you have shipped your product but stock level is calculated real stock - ordered product
--- End quote ---

If I get it right when someone makes an order real stock will not change but booked, ordered products field will increase.
Stock quantity that you have left is "in stock" - "booked, not ordered".

Once you change order status to "shipped" booked, ordered products and in stock fields will both decrease.

Ex. If you have product stock quantity 5 and one pcs of item will be ordered and order has status "confirmed". Your in stock field will stay on 5 but booked, ordered products will increaseto one (1).  After changeing order status to "shipped", booked, ordered products field will change back to 0 and in stock will decrease to 4.

This is attleast how I have understand it...

edek:
All what you wrote is true, but problem is that if i have one piece in stock and one booked / ordered product, anothe customer can still buy this product. I made a live test. Placed one piece of product to the stock with price 0.5 euro. After this i logged as customer, bought this piece and pay for it via paypal. Next logged as another customer and bought and pay again. I do this 7 times! And i have still one piece in stock and 7 pieces booked / ordered.
This is wrong. In my shop all products are handpainted images. So product will be allways available only as one piece.

Navigation

[0] Message Index

[#] Next page

Go to full version