Embedding in Shopify
Add FavForm to your Shopify store using theme customization or the Online Store editor.
Using the Theme Editor (easiest)
Open the Theme Editor
Go to Online Store → Themes → Customize.
Add a Custom Liquid section
Click "Add section" and select "Custom Liquid" (or "Custom HTML" depending on your theme).
Paste the embed code
In the Custom Liquid field, paste:
<div style="max-width: 700px; margin: 0 auto; padding: 20px;">
<fav-form data-embedId="your-form-id"></fav-form>
</div>
<script src="https://favform.com/embed/v1.js" async></script>Save
Click Save. The form will appear on your page.
Adding to a specific page
To add a form to a specific page (like Contact):
- Go to Online Store → Pages
- Edit the page (or create a new one)
- Click the HTML button <> in the editor toolbar
- Paste your embed code
- Save the page
Site-wide widgets
Add a feedback widget to every page by editing your theme:
- Go to Online Store → Themes
- Click Actions → Edit code
- Open Layout → theme.liquid
- Find the closing
</body>tag - Paste the widget code just before it
- Save
<fav-form data-embedId="your-widget-id"></fav-form>
<script src="https://favform.com/embed/v1.js" async></script>Product page forms
Add a form to all product pages (e.g., for custom orders):
- Go to Online Store → Themes → Edit code
- Open Sections → main-product.liquid (or similar)
- Find where you want the form to appear
- Add the embed code
Using iframe
If the script method doesn't work, use an iframe:
<iframe
src="https://favform.com/f/your-form-id"
width="100%"
height="700"
frameborder="0"
style="border: none; max-width: 700px; display: block; margin: 0 auto;">
</iframe>Common use cases
Contact form
Replace Shopify's default contact form with a customized FavForm
Custom order requests
Collect custom product requirements with file uploads
Wholesale inquiries
Gather business information for B2B customers
Product feedback
Add a feedback widget to collect reviews and suggestions
Pre-order forms
Collect interest and deposits for upcoming products
Troubleshooting
Form not appearing
Shopify's rich text editor may strip scripts. Use the HTML view or edit theme.liquid directly.
Script blocked by CSP
Some Shopify apps add strict Content Security Policies. Try the iframe method instead.
Form looks different than preview
Your theme's CSS may affect the form. Add the form inside a container with all: initial to reset styles.
Widget conflicts with chat apps
If you have a chat widget, position FavForm on the opposite corner (bottom-left vs bottom-right).