Exemplo n.º 1
0
" width="100" height="100"></img></button>
					<input type="hidden" id="mold_image" name="mold_image" value="<?php 
    if ($the_image != "none") {
        echo $the_image;
    } else {
        echo "none";
    }
    ?>
"/>
					<br>
				</div>
				
				<?php 
    // A MOLD SKU OPTION //
    if (get_option('woocommerce_enable_sku', true) !== 'no') {
        $the_sku = $mold->pm_get_mold_sku();
        ?>
						<div class="field">
							<label><a class="datatips" href="#" data-tip="<?php 
        _e('Enter a SKU for this variation or leave blank to use the parent product SKU.', 'woocommerce');
        ?>
">[?]</a>
							<b><?php 
        _e('SKU', 'woocommerce');
        ?>
 :</b></label>
							<input type="text" size="5" name="mold_sku" value="<?php 
        if (!empty($the_sku)) {
            echo esc_attr($the_sku);
        }
        ?>