WordPress.org

Forums

WooCommerce - excelling eCommerce
Out Of Stock Threshold (8 posts)

  1. panosdotk
    Member
    Posted 2 years ago #

    I have set the Out Of Stock Threshold to 2. I also have set to hide out of stock from catalog. After I make a purchase the amount of product have change but the product stay "in stock" and showed to catalog. Can anybody help?

    http://wordpress.org/extend/plugins/woocommerce/

  2. panosdotk
    Member
    Posted 2 years ago #

    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

  3. panosdotk
    Member
    Posted 2 years ago #

    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

  4. Forest Skills
    Member
    Posted 2 years ago #

    Haven't had that issue with my install :/

  5. panosdotk
    Member
    Posted 2 years ago #

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

  6. Forest Skills
    Member
    Posted 2 years ago #

    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)?

    Chris

  7. panosdotk
    Member
    Posted 2 years ago #

    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

  8. Forest Skills
    Member
    Posted 2 years ago #

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

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • WooCommerce - excelling eCommerce
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic

Tags

No tags yet.