• Resolved ChrisPrefect

    (@chrisprefect)


    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 to see the link]

Viewing 8 replies - 1 through 8 (of 8 total)
  • Plugin Support John Coy a11n

    (@johndcoy)

    Automattic Happiness Engineer

    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 and disabling all plugins except for WooCommerce to see if this resolves the stock issue?

    Thread Starter ChrisPrefect

    (@chrisprefect)

    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

    (@chrisprefect)

    So nobody has an idea why stock levels could suddenly be wrong on some products?

    Caleb Burks

    (@icaleb)

    Automattic Happiness Engineer

    > 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

    (@chrisprefect)

    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

    (@icaleb)

    Automattic Happiness Engineer

    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

    (@chrisprefect)

    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

    (@alastairjanestaffordtextiles)

    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.