Hide shipping class if variation is virtual Closes #4972
This commit is contained in:
parent
5ddba16f7f
commit
13add49e42
|
@ -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,
|
||||
|
|
Loading…
Reference in New Issue