Exemplo n.º 1
0
        _e("Calculate in %", 'woocommerce-molds');
        ?>
</label><?php 
    } else {
        ?>
						<input class="css-checkbox" type="checkbox" id="sale_price_is_percent" name="sale_price_is_percent" value="yes"><label class="css-label" for="sale_price_is_percent"><?php 
        _e("Calculate in %", 'woocommerce-molds');
        ?>
</label><?php 
    }
    ?>
				</div><br/>
				
				<?php 
    // A MOLD WEIGHT AND DIMENSIONS //
    $length = $mold->pm_get_mold_length();
    $width = $mold->pm_get_mold_width();
    $height = $mold->pm_get_mold_height();
    $weight = $mold->pm_get_mold_weight();
    ?>
				<?php 
    if (get_option('woocommerce_enable_weight', true) !== 'no' || get_option('woocommerce_enable_dimensions', true) !== 'no') {
        ?>
						<?php 
        if (get_option('woocommerce_enable_weight', true) !== 'no') {
            ?>
							<div class="field">
							<label><a class="datatips" data-tip="<?php 
            _e('Enter a weight for this variation or leave blank to use the parent product weight.', 'woocommerce');
            ?>
" href="#">[?]</a> <b><?php