Hide shipping class if variation is virtual Closes #4972

This commit is contained in:
Mike Jolley 2014-02-27 11:53:43 +00:00
parent 2a06f28447
commit 5ae6dd056b
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,