Answers.Body: <p>Well I made a workaround, I'm going to use Custom Order Status to manage "in stock" and "pending in cart" and get both the values and make a calculation that will be put in the "stock" value displaying in the front. </p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2021-04-15T21:23:41.660Z
Answers.Text: Will you happen to have a technical example of this? It’s an interesting answer, only if you could give an example it would be great!
Answers.UserDisplayName: Johanna Maldonado
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2016-09-27T14:11:20.903Z
Answers.LastActivityDate: 2016-09-27T17:23:56.433Z
Answers.LastEditDate: 2016-09-27T17:23:56.433Z
Answers.UserDisplayName: Bram B
Body: <p>So in Craft Commerce, we have stock items. What I want is to display items in stock, but adjust it to active checkout charts containing those items.</p>
  
  <p>(only when an active had a checkout or being disband stock must correct itself)</p>
  
  <p>How would it be possible to implement such a thing?</p>
  
Tags: <plugin-craftcommerce>
Title: Adjust item stock accordingly to checkout carts
ThreadText: # Adjust item stock accordingly to checkout carts
  
  (Asked by: username_0 on 2016-09-27)
  
  So in Craft Commerce, we have stock items. What I want is to display items in stock, but adjust it to active checkout charts containing those items.
  
  (only when an active had a checkout or being disband stock must correct itself)
  
  How would it be possible to implement such a thing?
  
  **Tags:** plugin-craftcommerce
  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_0 on 2016-09-27. Score: 1 | Accepted answer
  
  Well I made a workaround, I'm going to use Custom Order Status to manage "in stock" and "pending in cart" and get both the values and make a calculation that will be put in the "stock" value displaying in the front.
  
  > **Comments:**
  > **username_1**: Will you happen to have a technical example of this? It’s an interesting answer, only if you could give an example it would be great!  
  
  ---
  
  