示例#1
0
            if (isset($height)) {
                echo esc_attr($height);
            }
            ?>
" placeholder="" />
							</div>
						<?php 
        }
        ?>
				<?php 
    }
    ?>
				
				<?php 
    // A MOLD SHIPPING CLASS //
    $shipping_class = $mold->pm_get_mold_shipping_class();
    ?>
				<div class="field">
				<label><?php 
    _e('Shipping class:', 'woocommerce');
    ?>
</label> 
				<?php 
    $the_shipping_class = $mold->pm_get_mold_shipping_class();
    $args = array('taxonomy' => 'product_shipping_class', 'hide_empty' => 0, 'show_option_none' => __('Same as parent', 'woocommerce'), 'name' => 'mold_shipping_class', 'id' => 'mold_shipping_class', 'selected' => isset($the_shipping_class) ? esc_attr($the_shipping_class) : '', 'echo' => 0);
    echo wp_dropdown_categories($args);
    ?>
</div><br>
				
				<?php 
    // DOWNLOADABLE OPTIONS