Hide shipping class if variation is virtual Closes #4972
This commit is contained in:
parent
2a06f28447
commit
5ae6dd056b
|
@ -113,7 +113,7 @@ if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
|
||||||
</tr>
|
</tr>
|
||||||
<?php endif; ?>
|
<?php endif; ?>
|
||||||
<tr>
|
<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(
|
$args = array(
|
||||||
'taxonomy' => 'product_shipping_class',
|
'taxonomy' => 'product_shipping_class',
|
||||||
'hide_empty' => 0,
|
'hide_empty' => 0,
|
||||||
|
|
Loading…
Reference in New Issue