This commit is contained in:
Mike Jolley 2013-01-11 13:29:00 +00:00
parent 19cfd8d8f1
commit ad79ab9c1f
1 changed files with 0 additions and 3 deletions

View File

@ -1957,9 +1957,6 @@ function woocommerce_stock_overview() {
$nostockamount = get_option('woocommerce_notify_no_stock_amount'); $nostockamount = get_option('woocommerce_notify_no_stock_amount');
if (!is_numeric($nostockamount)) $nostockamount = 0; if (!is_numeric($nostockamount)) $nostockamount = 0;
$outofstock = array();
$lowinstock = array();
// Get low in stock simple/downloadable/virtual products. Grouped don't have stock. Variations need a separate query. // Get low in stock simple/downloadable/virtual products. Grouped don't have stock. Variations need a separate query.
$args = array( $args = array(
'post_type' => 'product', 'post_type' => 'product',