Hide shipping class if variation is virtual Closes #4972

This commit is contained in:
Mike Jolley 2014-02-27 11:53:43 +00:00 committed by Coen Jacobs
parent 5ddba16f7f
commit 13add49e42
1 changed files with 1 additions and 1 deletions

View File

@ -113,7 +113,7 @@ if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
</tr>
<?php endif; ?>
<tr>
<td><label><?php _e( 'Shipping class:', 'woocommerce' ); ?></label> <?php
<td class="hide_if_variation_virtual"><label><?php _e( 'Shipping class:', 'woocommerce' ); ?></label> <?php
$args = array(
'taxonomy' => 'product_shipping_class',
'hide_empty' => 0,