" href="#"><?php _e("Substract", 'woocommerce-molds'); ?> </a></label><br><?php } else { ?> <input class="css-checkbox" type="checkbox" onclick="add_or_sub(false);" id="is_sub" name="is_sub" value="yes"><label class="css-label" for="is_sub"><a class="datatips" data-tip="<?php _e('The price you entered will be substracted to the variations current price', 'woocommerce-molds'); ?> " href="#"><?php _e("Substract", 'woocommerce-molds'); ?> </a></label><br><?php } ## IS PERCENT ## $is_percent = $mold->pm_get_mold_is_percent(); ?> <input type="hidden" name="is_percent" value="no" /><?php if ($is_percent == "yes") { ?> <input class="css-checkbox" type="checkbox" id="is_percent" name="is_percent" value="yes" checked><label class="css-label" for="is_percent"><a class="datatips" data-tip="<?php _e('The price you entered will be added or substracted as a percentage of the variations current price', 'woocommerce-molds'); ?> " href="#"><?php _e("Calculate in %", 'woocommerce-molds'); ?> </a></label><?php } else { ?> <input class="css-checkbox" type="checkbox" id="is_percent" name="is_percent" value="yes"><label class="css-label" for="is_percent"><a class="datatips" data-tip="<?php _e('The price you entered will be added or substracted as a percentage of the variations current price', 'woocommerce-molds');