Skip to content

Add Form to Product Page

Adding forms to product pages allows customers to inquire about products, request customizations, or submit pre-order information. This guide shows you how to add forms specifically to product pages.

Use CaseBenefit
Product InquiriesAnswer customer questions before purchase
Customization RequestsCollect custom order details
Pre-OrdersGather information for upcoming products
Warranty RegistrationRegister products after purchase
Product ReviewsCollect feedback on specific products
Bulk Order RequestsHandle wholesale inquiries
  1. Go to Online Store > Themes
  2. Click Customize on your theme
  1. Use the page selector at the top
  2. Choose Products > Select a product
  3. Or select “Default product” for all products
  1. Click on the product section or a block within it
  2. Click Add block
  3. Find Qivra Form Builder under Apps
  4. Select it to add to your product page
  1. In the block settings, select your form
  2. Position the form where desired
  3. Adjust layout settings
  4. Save changes

To show the form on all product pages:

  1. Edit “Default product” template
  2. Add the form block
  3. It will appear on all products using this template

For more control, edit the product template directly.

  1. Go to Online Store > Themes
  2. Click > Edit code
  3. Find sections/main-product.liquid or similar

Insert where you want the form:

<div class="product-form-section">
<h3>Have Questions?</h3>
{% render 'qivra-form-builder', form_id: 'YOUR_FORM_ID' %}
</div>
  1. Save the file
  2. Visit a product page to verify

Show different forms for different products.

{%- if product.tags contains 'customizable' -%}
{% render 'qivra-form-builder', form_id: 'CUSTOMIZATION_FORM' %}
{%- elsif product.tags contains 'preorder' -%}
{% render 'qivra-form-builder', form_id: 'PREORDER_FORM' %}
{%- endif -%}
{%- case product.type -%}
{%- when 'Electronics' -%}
{% render 'qivra-form-builder', form_id: 'ELECTRONICS_FORM' %}
{%- when 'Clothing' -%}
{% render 'qivra-form-builder', form_id: 'CLOTHING_FORM' %}
{%- endcase -%}
{%- if product.metafields.custom.show_form == true -%}
{% render 'qivra-form-builder',
form_id: product.metafields.custom.form_id
%}
{%- endif -%}

Add forms in product page tabs.

  1. Edit your product template
  2. Add tab structure:
<div class="product-tabs">
<div class="tab-buttons">
<button class="tab-btn active" data-tab="description">Description</button>
<button class="tab-btn" data-tab="questions">Ask a Question</button>
</div>
<div class="tab-content">
<div id="description" class="tab-panel active">
{{ product.description }}
</div>
<div id="questions" class="tab-panel">
{% render 'qivra-form-builder', form_id: 'PRODUCT_INQUIRY_FORM' %}
</div>
</div>
</div>

Add a floating “Ask Question” button.

  1. Open your form
  2. Set Trigger Type to BUTTON
  3. Set Button Position to Floating
  4. Set button text to “Ask a Question”
  • Floating button appears on product pages
  • Clicking opens form in popup
  • Doesn’t interfere with product content

When creating forms for product pages, use the Product Selector field.

  • Shows a searchable product dropdown
  • Includes product images
  • Pre-selects current product (optional)
  1. In Form Builder, click Add Elements
  2. Select Product Selector
  3. Configure settings:
SettingDescription
Auto-select current productPre-fill with product on page
Allow multipleSelect multiple products
Show imagesDisplay product thumbnails

When enabled:

  • Form automatically selects the product customer is viewing
  • Customer doesn’t need to search
  • Submission includes product context
PositionProsCons
Below descriptionNatural flow, high visibilityPushes other content down
In accordion/tabClean layout, optionalExtra click to access
SidebarDoesn’t disrupt main contentMay be missed on mobile
Floating buttonAlways accessible, no space usedPopup may annoy some users
  • Above the Add to Cart button (hurts conversion)
  • Replacing product information
  • Large forms that push content far down
.product-form-section {
margin-top: 30px;
padding: 20px;
background: #f9f9f9;
border-radius: 8px;
}
.product-form-section h3 {
margin-bottom: 15px;
}

For forms in limited space:

.product-form-compact .form-field {
margin-bottom: 10px;
}
.product-form-compact .submit-button {
width: 100%;
}
MetricDescription
Submission rate% of visitors who submit
By productWhich products get most inquiries
ConversionInquiries that lead to sales
  • Identify products with common questions
  • Update product descriptions to address FAQs
  • Train support team on common issues
  1. Check if form is enabled
  2. Verify correct placement in template
  3. Clear cache and test
  1. Enable “Auto-select current product” in field settings
  2. Ensure Product Selector field is added
  3. Check for JavaScript errors
  1. Test on actual mobile devices
  2. Ensure form is responsive
  3. Consider button trigger for mobile
Play