• Resolved yellowbicycle

    (@yellowbicycle)


    Hi, when a customer preorders a product, it’s immediately deducted from the inventory. And if the order is rejected, the stock count does not go back up. Is there a way to make it either 1) deduct the item from stock only after approval or 2) put the item back in stock when cancelled? I’ve tried leaving “Hold stock (minutes)” blank in WooCommerce settings and even installed a third-party plugin (ATUM Inventory Management) just to set “Change stock on ‘completed’ status” but nothing helps. Thanks in advance!

Viewing 1 replies (of 1 total)
  • Thread Starter yellowbicycle

    (@yellowbicycle)

    Fixed by commenting out line 119 in includes/class-sg-order-approval-woocommerce-pro-payment-gateway.php:

    //wc_reduce_stock_levels($order_id);

Viewing 1 replies (of 1 total)
  • The topic ‘Problem with Inventory Management’ is closed to new replies.