<?php
/**
 * Info Tab
 */
global $post;
$show = yit_get_post_meta($post->ID, '_use_ask_info');
$form_id = yit_get_option('shop-products-details-contact-form');
if($form_id != -1 && $show ) : ?>
        <h2><?php _e( 'Send an inquiry about this item', 'yit' ) ?></h2>
        <?php echo do_shortcode( '[contact_form name="'. $form_id .'" action="#tab-info" ]' ) ?>
<?php endif ?>