示例#1
0
" href="#"><?php 
        _e('Virtual', 'woocommerce');
        ?>
</a></label><?php 
    } else {
        ?>
						<input onclick="uncheck_this('is_virtual','is_not_virtual');" class="css-checkbox" type="checkbox" id="is_virtual" name="is_virtual" value="yes"><label class="css-label" for="is_virtual"> <a class="datatips" data-tip="<?php 
        _e('Enable this option if a product is not shipped or there is no shipping cost', 'woocommerce');
        ?>
" href="#"><?php 
        _e('Virtual', 'woocommerce');
        ?>
</a></label><?php 
    }
    ## IS MAIN IMAGE ##
    $is_main_image = $mold->pm_get_mold_is_main_image();
    if ($is_main_image == "yes") {
        ?>
						<input class="css-checkbox" type="checkbox" id="is_main_image" name="is_main_image" value="yes" checked><label class="css-label" for="is_main_image"> <a class="datatips" data-tip="<?php 
        _e('Enable this option to replace all the variations images, or else the image will only be passed to variations without one', 'woocommerce-molds');
        ?>
" href="#"><?php 
        _e('Main image', 'woocommerce-molds');
        ?>
</a></label><?php 
    } else {
        ?>
						<input class="css-checkbox" type="checkbox" id="is_main_image" name="is_main_image" value="yes"><label class="css-label" for="is_main_image"> <a class="datatips" data-tip="<?php 
        _e('Enable this option to replace all the variations images, or else the image will only be passed to variations without one', 'woocommerce-molds');
        ?>
" href="#"><?php