Support » Plugins and Hacks » Out Of Stock Threshold

Out Of Stock Threshold

Viewing 7 replies - 1 through 7 (of 7 total)
  • I have tested on a fresh install and I confirm that the “out of stock Threshold” is not working at all. The status change to “Out of Stock” only if the quantity is zero

    I make a hack to \classes\abstracts\abstract-wc-product.php. To lines 166, 168, 193 and 218 change the 0 with 2. Now any product below 2 set it as “Out of Stock” and dissapear from catalog. I wonder if I can have a permanent solution that not be affected by future upgrades

    Haven’t had that issue with my install :/

    I tested to 3 different installation but “out of stock threshold” not working

    Obvious questions;

    1) Have you clicked on Manage Stock (Product Data / Inventory)?
    2) Have you clicked on Allow Back Orders (Product Data / Inventory)?
    3) Have you clicked on Out Of Stock Visibility (Woocommerce/Settings/Inventory)?


    1. yes manage stock is selected
    2. allow backorder is disabled. I don’t want backorder
    3. I choose the products to disappear from catalog when is out of stock

    Exactly the same as me. Sorry, I can’t help further.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Out Of Stock Threshold’ is closed to new replies.