Stock quantity

This commit is contained in:
Mike Jolley 2012-01-03 10:35:59 +00:00
parent c2e68c4538
commit 701938961c
1 changed files with 1 additions and 1 deletions

View File

@ -265,7 +265,7 @@ function woocommerce_custom_product_columns($column) {
echo '<img src="'.$woocommerce->plugin_url().'/assets/images/success-off.gif" alt="no" /> ';
endif;
if ( $product->managing_stock() ) :
echo $product->stock.__(' in stock', 'woothemes');
echo $product->get_total_stock().__(' in stock', 'woothemes');
endif;
break;
case "product_type" :