Try our conversational search powered by Generative AI!

Inventory not reduced [11.4.1]



We just moved from workflows to using SeriliazableCarts and after the upgrade the inventory is not reduced. If I have 28 and buys one item there is still 28 left.

Before calling

var orderReference = _orderRepository.SaveAsPurchaseOrder(cart);

I call


Just like the Quicksilver example. Should this be enough or do I have do something else?


Dec 08, 2017 13:41


Just to make sure, how do you know there are still 28 left?

Dec 08, 2017 13:58


I look under the Inventory tab for the current variant.


Dec 08, 2017 14:00

There are several places you can look at

Were the values in database (InventoryService table) updated?

Do you have the SKU to be tracked, and that specific warehouse to be tracked? The inventory will only be reserved if both of them are true. 

Dec 08, 2017 14:11

Ok. The SKU is set to IsTracked = 1, how can I check to warehouse setting?
The value in the InventoryService table was not updated.

Dec 08, 2017 14:25

In the inventory tab in Catalog UI, the last column

Dec 08, 2017 14:28

Ok, Is Tracked is checked but not the checkbox "Tracked" just above the line in your picture. I guess that is the one missing?

Dec 08, 2017 14:30

The tracked checkbox above is at SKU level, so yes, you'd need that 

Dec 08, 2017 14:31
<p>Sorry to hijack this thread, but I encounter the opposite problem while dealing with digital products that&nbsp;shouldn't track the inventory.&nbsp;We're upgrading from commerce<span>&nbsp;to&nbsp;</span> and upon running the&nbsp;CartCheckout workflow we're now getting workflow error "Inventory tracking is disabled". But why is that an error? At SKU-level the checkbox is "not tracked" and it's inventory location has "Is tracked" also&nbsp;disabled.&nbsp;<img src="" alt="tracking" /></p>
Apr 12, 2018 14:57

Michael, feel free to create a new thread. 

I don't think it's an error. It's just a warning you can safely ignore. Even better, you can download the workflow project, modify it to remove the inventory checking/requesting part completely.

Apr 12, 2018 15:13

True :) 

Ok thanks, yes I guess that's an option then. I tried providing some params to the work flow (namely "ShouldIgnoreAdjustInventory") which I thought would do it but doesn't. 

Apr 12, 2018 15:27
This topic was created over six months ago and has been resolved. If you have a similar question, please create a new topic and refer to this one.
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.