• Resolved WP3DW

    (@wp3dw)


    Hi,

    When a customer buys one item of a product the stock of this item gets reduced by twice. If customer busy two the stock gets reduced by four etc. I have disabled all other plugins and even switched to default WordPress theme. The only extra active plugin is Woocommerce Test Payment Module for walking through the payment proces.
    The current test install is on localhost with MAMP.

    In the order notes there are also twice the notes that the stock amount is reduced

    Woocommerce and WordPress are both the latest versions.

    I do hope someone has an idea what might be going wrong here?

    Thanks and kind regards,

    Wim

    https://www.ads-software.com/plugins/woocommerce/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Contributor Mike Jolley (a11n)

    (@mikejolley)

    Woocommerce Test Payment Module is doing it. The code sets payment complete AND reduces stock.

    Thread Starter WP3DW

    (@wp3dw)

    Hi Mike,

    Thanks for that! I just removed the call reduce_order_stock(); from the plugin and now its working fine indeed.

    Again thanks for your support!

    Kind regards,

    Wim

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Stock amount gets reduced by double the item amount’ is closed to new replies.