Product Export – Low Stock Threshold – returns blank cells instead of 0
-
So we have close to 1k products and we want to use the Product Import / Export tool to quickly manage our inventory.
For some items, we have set the “low stock threshold” to 0, as we do not want to restock them when they run out.
So when we do Product Export, those items are returning a blank cell on the “low stock threshold” column in the CSV — this causes a problem when we do the Product Import. Because when it is a blank cell in the CSV, Woocommerce will set the items to follow “default low stock threshold” which is 50 — but we want it to stay 0.
The issue here is that at Product Export, items set with “0” for their “low stock threshold” should return the value “0” and not blank cells
Is there a way we can work around this with a piece of code in functions.php?
- The topic ‘Product Export – Low Stock Threshold – returns blank cells instead of 0’ is closed to new replies.