Title: Stock levels wrong
Last modified: March 2, 2018

---

# Stock levels wrong

 *  Resolved [ChrisPrefect](https://wordpress.org/support/users/chrisprefect/)
 * (@chrisprefect)
 * [8 years, 2 months ago](https://wordpress.org/support/topic/stock-levels-wrong/)
 * Over the past few month I noticed that customers bought products that did not
   get listed as “out of stock”, even though we made a correct inventory when we
   got new shipments.
 * This now happens almost daily. When I go check the stock levels in WooCommerce
   and compare them to the products actually on stock they are off by sometimes 
   5-10 items.
 * This wasn’t the case about a year ago, so it started with some update or modification
   within the last year.
 * It is not possible that someone stole items, I am the only one working in the
   warehouse 🙂
 * Could it be that some payment option like bank prepayment does not automatically
   lower the stock level if a customer chooses this option?
 * I use these payment options and payment fees:
 * Überweisung / Vorkasse bacs
    Kreditkarte und PayPal paypal CHF 0.55 2.9 % of 
   cart totals Paypal Freunde&Familie cod TWINT twint 1.3 % of cart totals PostFinance
   postfinance 2 % of cart totals PostFinance E-Finance pf_efinance 2 % of cart 
   totals PostFinance Card pf_card 2 % of cart totals Bitcoins bitpay 1 % of cart
   totals Zahlung mittels Scheck cheque
 * Is there a test I can do to find the “leak” where stock levels are not properly
   adjusted after an order is made?
 * Thanks a lot!
    Chris
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fstock-levels-wrong%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  Plugin Support [John Coy a11n](https://wordpress.org/support/users/johndcoy/)
 * (@johndcoy)
 * Automattic Happiness Engineer
 * [8 years, 2 months ago](https://wordpress.org/support/topic/stock-levels-wrong/#post-10034291)
 * Hi Chris,
 * Typically issues like this are caused by a theme or plugin conflict. As a first
   step, could you try switching back to a default theme like Twenty Seventeen or
   [Storefront](https://woocommerce.com/storefront/) and disabling all plugins except
   for WooCommerce to see if this resolves the stock issue?
 *  Thread Starter [ChrisPrefect](https://wordpress.org/support/users/chrisprefect/)
 * (@chrisprefect)
 * [8 years, 2 months ago](https://wordpress.org/support/topic/stock-levels-wrong/#post-10034870)
 * Hi John
 * Thanks, but this standard advice to disable all plugins and switch to the default
   theme is not helpful. This is a live shop with hundreds of users each day. We
   can’t basically shut down the store for days. And the problem is only visible
   after several days, only when we notice that users ordered products that where
   shown as “in stock” but are long gone.
 * How else can we test this?
 * How can a plugin or a theme prevent WooCommerce from SOMETIMES decreasing the
   stock level after an order was made? I can’t imagine that this is because of 
   some incompatibility.
 * Best Regards!
    Chris
 *  Thread Starter [ChrisPrefect](https://wordpress.org/support/users/chrisprefect/)
 * (@chrisprefect)
 * [8 years, 2 months ago](https://wordpress.org/support/topic/stock-levels-wrong/#post-10058467)
 * So nobody has an idea why stock levels could suddenly be wrong on some products?
 *  [Caleb Burks](https://wordpress.org/support/users/icaleb/)
 * (@icaleb)
 * Automattic Happiness Engineer
 * [8 years, 2 months ago](https://wordpress.org/support/topic/stock-levels-wrong/#post-10067040)
 * > Thanks, but this standard advice to disable all plugins and switch to the default
   theme is not helpful.
 * It is actually the best advice you can get. The alternative is debugging the 
   code plugin by plugin which will cost you a lot more time and money if you are
   paying a developer. If you aren’t comfortable disabling plugins on a live site
   for testing, you should have a staging/test site.
 * Here are some plugins I have seen cause this issue often:
 * – WooCommerce Poor Mans Swiss Knife (or something like that)
    – WooCommerce Germanized(
   and the family of extensions)
 *  Thread Starter [ChrisPrefect](https://wordpress.org/support/users/chrisprefect/)
 * (@chrisprefect)
 * [8 years, 2 months ago](https://wordpress.org/support/topic/stock-levels-wrong/#post-10067256)
 * Even if I used a staging server (which I actually have), it would not help.
    
   I would have to do hundreds of test-orders and especially full payments with 
   several payment options to replicate the bug! And then refund all the payments
   and pay the fees on all those transactions anyway. That does not help at all.
 * I don’t have these two mentioned extensions.
 * What I need are suggestions from others that had a similar problem and what the
   solution was. Maybe it is a plugin (which I doubt) or a special payment option(
   like bank pre-payment) which does not deduct the stock levels automatically. 
   I know that I am missing / overlooking something. I don’t think it is a problem
   with a plugin that only changes stocklevels randomly and not on every order.
 * Thanks!
    Chris
 *  [Caleb Burks](https://wordpress.org/support/users/icaleb/)
 * (@icaleb)
 * Automattic Happiness Engineer
 * [8 years, 1 month ago](https://wordpress.org/support/topic/stock-levels-wrong/#post-10071751)
 * Hey Chris,
 * Well, we’ve seen plugins do this – so you can’t rule it out without knowing.
 * The most likely culprit is in the payment gateway plugin though.
 *  Thread Starter [ChrisPrefect](https://wordpress.org/support/users/chrisprefect/)
 * (@chrisprefect)
 * [8 years, 1 month ago](https://wordpress.org/support/topic/stock-levels-wrong/#post-10147760)
 * I found something… On all the orders I see messages in the order annotations 
   like “product X stock level reduced from 5 to 4”.
 * But these messages are missing when the order way paid with Paypal!
 * So there is something wrong here. Why are the stock levels not reduced when an
   order is paid with Paypal?
 * Best Regards,
    Chris
 *  [Alastair](https://wordpress.org/support/users/alastairjanestaffordtextiles/)
 * (@alastairjanestaffordtextiles)
 * [7 years, 10 months ago](https://wordpress.org/support/topic/stock-levels-wrong/#post-10480966)
 * Hey Chris
 * did you get any further with this? We’re seeing similar symptoms: Paypal payments
   don’t appear to reduce stock levels but credit card payments do.
 * Cheers

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

The topic ‘Stock levels wrong’ is closed to new replies.

 * ![](https://ps.w.org/woocommerce/assets/icon.svg?rev=3234504)
 * [WooCommerce](https://wordpress.org/plugins/woocommerce/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/woocommerce/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/woocommerce/)
 * [Active Topics](https://wordpress.org/support/plugin/woocommerce/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/woocommerce/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/woocommerce/reviews/)

 * 8 replies
 * 4 participants
 * Last reply from: [Alastair](https://wordpress.org/support/users/alastairjanestaffordtextiles/)
 * Last activity: [7 years, 10 months ago](https://wordpress.org/support/topic/stock-levels-wrong/#post-10480966)
 * Status: resolved