示例#1
0
    }
    ?>
" step="any" min="0" />
				</div>
				
				<br>
				<?php 
    // A MOLD PRICE OPTIONS //
    ?>
				<div class="field">
					<label><b><?php 
    echo __('Regular Price:', 'woocommerce');
    ?>
</b></label>
					<input type="number" size="5" name="regular_price" value="<?php 
    $regular_price = $mold->pm_get_mold_regular_price();
    if ($regular_price) {
        echo $regular_price;
    }
    ?>
" step="any" min="0"/><br>
					<?php 
    // A MOLD PRICE CALCULATION OPTIONS //
    ## IS BASE PRICE ##
    $is_base_price = $mold->pm_get_mold_is_base_price();
    ?>
<input type="hidden" name="is_base_price" value="no" /><?php 
    if ($is_base_price == "yes") {
        ?>
						<input class="css-checkbox" type="checkbox" onclick="base_price();" id="is_base_price" name="is_base_price" value="yes" checked><label class="css-label" for="is_base_price"><a class="datatips" data-tip="<?php 
        _e('Enabling this option will replace the variations regular price by the one you entered', 'woocommerce-molds');