Add inquiry form to product single

// --------Add inquiry form to product single
add_action( 'woocommerce_single_product_summary', 'add_product_inquiry_form', 40 );
function add_product_inquiry_form() {
    echo '<div class="have-a-question"><span class="before-form">Have a question about this item?</span> <span class="show-form"> Send a message &rarr;</span></div>';
     echo '<div id="inquiry-wrapper">' . do_shortcode('[gravityform id=1 title=false description=false ajax=true tabindex=49]') . '</div>'; 
}

No Comments

Sorry, the comment form is closed at this time.