Title: Issue with quantity
Last modified: February 2, 2021

---

# Issue with quantity

 *  Resolved [hpb951](https://wordpress.org/support/users/hpb951/)
 * (@hpb951)
 * [5 years, 4 months ago](https://wordpress.org/support/topic/issue-with-quantity/)
 * Hi,
 * We are starting to have major issues with inventory management. The stock count
   seems to revert, which causes a wrong stock count and selling products we don’t
   have in stock. I will give a couple of examples:
 * Item 1:
    1. I set it to 50x 2. When somebody purchases it, it goes to -5 and 
   is out of stock 3. I set it to 49x again 4. When somebody purchases it, it goes
   to -6 and is out of stock
 * Item 2:
    1. Item is set at 8x 2. We sell 7x to 6 different customers 3. The stock
   count is after some time suddenly 8x again 4. I set it to 0x, cause i’m scared
   of overselling. 5. After some time it changes to 8x again.
 * Any ideas on this type of issue?
 * Thanks for the help!
    -  This topic was modified 5 years, 4 months ago by [hpb951](https://wordpress.org/support/users/hpb951/).
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fissue-with-quantity%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 9 replies - 1 through 9 (of 9 total)

 *  Plugin Author [Salva Machi](https://wordpress.org/support/users/salvamb/)
 * (@salvamb)
 * [5 years, 4 months ago](https://wordpress.org/support/topic/issue-with-quantity/#post-13995403)
 * Hi [@hpb951](https://wordpress.org/support/users/hpb951/)
 * This is very weird. Are you sure that this issue is being caused by ATUM?
    If
   you disable ATUM, does this issue stop happening?
 * And the second question: Are you using any ATUM premium add-on?
 * Looking forward to your replies.
 * Best Regards,
    Salva.
 *  Thread Starter [hpb951](https://wordpress.org/support/users/hpb951/)
 * (@hpb951)
 * [5 years, 4 months ago](https://wordpress.org/support/topic/issue-with-quantity/#post-13995444)
 * Hi Salva,
 * I’m not actually certain if it’s an issue with ATUM. I tried disabling it and
   a caching plugin and I did not see it happen yet, it does happen randomly throughout
   the day. I will wait a day to see.
 * Have you never experienced such an issue? It was hard for me to find any woocomerce
   information related to it on google.
 * Thanks! 🙂
 *  Plugin Author [Salva Machi](https://wordpress.org/support/users/salvamb/)
 * (@salvamb)
 * [5 years, 4 months ago](https://wordpress.org/support/topic/issue-with-quantity/#post-13995554)
 * I’ve seen very weird things happening in our users’ sites and sometimes were 
   caused by some ATUM premium add-on and other times were caused by 3rd party plugins.
   But the ATUM’s free plugin never caused an issue like that one you mention.
 * If this happens from time to time. Perhaps, having a log of all the changes that
   happen in your inventory would help. We have a premium add-on to do so (in case
   you are interested).
 * Best Regards,
    Salva.
 *  Thread Starter [hpb951](https://wordpress.org/support/users/hpb951/)
 * (@hpb951)
 * [5 years, 4 months ago](https://wordpress.org/support/topic/issue-with-quantity/#post-13996507)
 * Hi Salva,
 * I bought the action log add-on 3 hours ago. The issue has happened since, but
   the log does not show anything related to the product changing from 15 to -13.
   Do you have any ideas about what it could suggest? If the action log is not able
   to log the change.
 *  Plugin Author [Salva Machi](https://wordpress.org/support/users/salvamb/)
 * (@salvamb)
 * [5 years, 4 months ago](https://wordpress.org/support/topic/issue-with-quantity/#post-13996644)
 * Hi [@hpb951](https://wordpress.org/support/users/hpb951/)
 * If Action Logs is not registering it, perhaps this change is happening outside
   of the control of Action Logs. For example:
    - If this happens at the database level by an external system (or manually),
      ATUM cannot be aware of it and won’t be registered
    - If this modification is done by a 3rd party plugin that doesn’t use the WooCommerce’s
      official way to do changes (for example, updating the database directly with
      a SQL query and not using the WC object models), ATUM cannot be aware of it
      either
 * So, if this happened again and wasn’t registered in your logs, I’m suspecting
   that isn’t being caused by ATUM but I can’t know what is the source in this case.
   
   I’d suggest you disable all your plugins except WooCommerce and do tests until
   you find from where is coming. And, if you have any external system connected
   to your site that could be doing something like this, try to disconnect it temporarily
   too.
 * Also, you could try to check if there is some error related to this issue in 
   your PHP error logs. If you need help to enable these logs, please do read this
   article:
 * > [Debugging in WordPress](https://wordpress.org/support/article/debugging-in-wordpress/)
 * But, if any of the above helps you to find what is causing this weird issue, 
   perhaps you should find a developer to debug this deeply for you.
 * Best Regards,
    Salva.
 *  Thread Starter [hpb951](https://wordpress.org/support/users/hpb951/)
 * (@hpb951)
 * [5 years, 4 months ago](https://wordpress.org/support/topic/issue-with-quantity/#post-13996838)
 * Thanks for the prompt reply and good service!
 * I think I might have found the issue, the woocomerce database did not update 
   automatically. We recently updated it. I had to update the database manually.
   I will keep an eye on it today and see if it solved the issue!
 * I’m debugging PHP as well now.
 * Thanks for the help and the suggestion of action logs – very useful addon 🙂
 *  Plugin Author [Salva Machi](https://wordpress.org/support/users/salvamb/)
 * (@salvamb)
 * [5 years, 4 months ago](https://wordpress.org/support/topic/issue-with-quantity/#post-13997005)
 * You’re welcome 😉
 * I hope that db update fixed the issue.
 * Best Regards,
    Salva.
 *  Thread Starter [hpb951](https://wordpress.org/support/users/hpb951/)
 * (@hpb951)
 * [5 years, 4 months ago](https://wordpress.org/support/topic/issue-with-quantity/#post-13997155)
 * Found the issue for your information Salva.
 * The issue was a woocomerce webhook with quickbooks, that a partner was testing
   last week.
 * Have a lovely day!
 *  Plugin Author [Salva Machi](https://wordpress.org/support/users/salvamb/)
 * (@salvamb)
 * [5 years, 4 months ago](https://wordpress.org/support/topic/issue-with-quantity/#post-14000744)
 * Good to know that you finally found the source 🙂
 * Have a nice day you too!!

Viewing 9 replies - 1 through 9 (of 9 total)

The topic ‘Issue with quantity’ is closed to new replies.

 * ![](https://ps.w.org/atum-stock-manager-for-woocommerce/assets/icon.svg?rev=1634692)
 * [ATUM WooCommerce Inventory Management and Stock Tracking](https://wordpress.org/plugins/atum-stock-manager-for-woocommerce/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/atum-stock-manager-for-woocommerce/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/atum-stock-manager-for-woocommerce/)
 * [Active Topics](https://wordpress.org/support/plugin/atum-stock-manager-for-woocommerce/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/atum-stock-manager-for-woocommerce/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/atum-stock-manager-for-woocommerce/reviews/)

 * 9 replies
 * 2 participants
 * Last reply from: [Salva Machi](https://wordpress.org/support/users/salvamb/)
 * Last activity: [5 years, 4 months ago](https://wordpress.org/support/topic/issue-with-quantity/#post-14000744)
 * Status: resolved