" href="#"><?php _e("Add to regular price", 'woocommerce-molds'); ?> </a></label><br><?php } else { ?> <input class="css-checkbox" type="checkbox" onclick="add_or_sub(true);" id="is_add" name="is_add" value="yes"><label class="css-label" for="is_add"><a class="datatips" data-tip="<?php _e('The price you entered will be added to the variations current price', 'woocommerce-molds'); ?> " href="#"><?php _e("Add to regular price", 'woocommerce-molds'); ?> </a></label><br><?php } ## IS SUB ## $is_sub = $mold->pm_get_mold_is_sub(); ?> <input type="hidden" name="is_sub" value="no" /><?php if ($is_sub == "yes") { ?> <input class="css-checkbox" type="checkbox" onclick="add_or_sub(false);" id="is_sub" name="is_sub" value="yes" checked><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 } 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');