Product Questions M2 - Ask form on Product Page
To show 'Ask your question' form on the product page go to your Magento directory folder and find view.phtml file, you can find it in app\design\frontend\rwd\default\template\catalog\product\ or, for older versions of Magento in app\design\frontend\base\default\template\catalog\product\
Open view.phtml file and paste the following line at the point where you want to have the form:
<?php echo $this->getChildHtml('askquestion_form') ?>
To show questions and their answers on product page please open the same file as above and paste following line:
<?php echo $this->getChildHtml('productquestions_view') ?>
When the customer reaches the Product Page, he or she will see the 'Ask your question' at the bottom of the page so they can ask any question they would like to make. In case that user is not logged in, there will be another field with author name.
After filling the fields and clicking on 'Ask a Question', question and basic information about product and author will be sent to the Admin Panel, where it will be possible to manage all questions, add answers and set visibility depending on whether the admin want to show them on the product page.
All answered questions that were set to be visible on the Product Page will be displayed in the frontend for any person browsing the store to see.