Product Enquiry

Wireframe

Coding Instructions

Step 1. Add the tab and content

Open products/template.html, find the first instance of [%if [@config:show_product_reviews@]%], and paste the below code directly underneath the closing [%/if%] statement:

<li>
    <a href="#productquestion" data-toggle="tab">
        Ask a Question About This Product
    </a>
</li>

Find the second instance of [%if [@config:show_product_reviews@]%], and paste the below code directly underneath the closing [%/if%] statement:

<div class="tab-pane" id="productquestion">
    <iframe src="[%url type:'content' id:'92'/%]?templatehead=empty&templatefoot=empty" frameBorder="0" width="100%" height="680px"></iframe>
</div>

Notes On The Above Code

The product question form and its "thank you for your enquiry" message already exists in the software, so we're simply calling an iFrame to load the form.

Final Result

Multi-Item Add

Download Files

Download Files


Was this article useful?

Be notified when this page is updated. Optional.