Closed ssolovey closed 9 years ago
This is a new case for us. The problem is that in data the quantity of this product is 0 but it's still enabled.
But it still avalibale in inventory Stocks.
Sergey what could you advise regarding this issue? There is no a quick fix I suppose. It should be investigated.
I think during import of inventory total quantity should be updated as sum of all warehouses. I believe it was already implemented by Artem. please check the code.
When user places the order total quantity should be decreased correspondingly.
It should be easy fix.
Products were resynced with fix. (OUR TEST INVENT FILE DOESN'T INCLUDE ALL Products, so some of them could still be with this bug after resync)
New feature added according to investigation of failure. The problem was that after order submit we update only total quantity but warehouse quantity was not updated;
Now after order submit we update selected warehouse items number in order to match it with total items number. (3h spent)
So it was bug in our implementation?
I can't say that this a bug of implementation. I think that while project was growing with the functionality we didn't take this logic into account. I can't recall now what Artem was doing.
I was trying to order some item: Year: 2002 Make: Ford Model: E-150 Econoline Engine: 4.2L
got following error: "Not all products are available in the requested quantity"