Shopify Integration

You build the form. We manage what happens after submission — spam filtering, lead management, file uploads, bookings, and notifications.

No Shopify app install is required for the basic integration. Point a custom HTML/Liquid form at your MyFormConnect endpoint.

What you need

  • A MyFormConnect account and form (copy the form UUID from the dashboard)
  • Your store domain added under Settings → Domains
  • Shopify admin access to edit a page (Custom Liquid / HTML section)

Comfortable pasting HTML into a theme section is enough for most stores. Editing theme.liquid is optional and only needed for site-wide embeds such as the booking widget.

1. Direct form submission (recommended)

Create your form in Liquid or HTML, then POST to:

https://myformconnect.io/f/YOUR_FORM_UUID
<form action="https://myformconnect.io/f/YOUR_FORM_UUID" method="POST">
  <input type="text" name="name" placeholder="Name" required>
  <input type="email" name="email" placeholder="Email" required>
  <input type="tel" name="phone" placeholder="Phone">
  <textarea name="message" placeholder="How can we help?"></textarea>
  <!-- Optional: Shopify product context -->
  <input type="hidden" name="product_title" value="{{ product.title }}">
  <input type="hidden" name="product_id" value="{{ product.id }}">
  <input type="hidden" name="product_url" value="{{ shop.url }}{{ product.url }}">
  <button type="submit">Send</button>
</form>
  1. In Shopify admin open Online Store → Themes → Customize.
  2. Open your Contact (or other) page.
  3. Add a Custom Liquid section and paste the form.
  4. Replace YOUR_FORM_UUID with your form UUID.
  5. Save, submit a test, then hide Shopify’s built-in contact form if you no longer need it.

Prefer a guided walkthrough? See the Get Found Shopify guide.

2. AJAX submission

Keep visitors on the page and handle success/error in JavaScript:

<form id="mfc-shopify-form">
  <input type="text" name="name" required>
  <input type="email" name="email" required>
  <textarea name="message"></textarea>
  <button type="submit">Send</button>
</form>
<script>
document.getElementById('mfc-shopify-form').addEventListener('submit', async function (e) {
  e.preventDefault();
  const form = e.target;
  const data = new FormData(form);
  const res = await fetch('https://myformconnect.io/f/YOUR_FORM_UUID', {
    method: 'POST',
    body: data,
    headers: { 'Accept': 'application/json' }
  });
  if (res.ok) {
    form.reset();
    alert('Thanks — we got your message.');
  } else {
    alert('Something went wrong. Please try again.');
  }
});
</script>

3. File uploads

File uploads are available on Pro and Agency & Enterprise. Use enctype="multipart/form-data". Keep the total request (files + fields) at about ~100 MB or under.

<form action="https://myformconnect.io/f/YOUR_FORM_UUID" method="POST" enctype="multipart/form-data">
  <input type="text" name="name" required>
  <input type="email" name="email" required>
  <input type="file" name="attachment" accept=".pdf,.doc,.docx,image/*">
  <button type="submit">Submit</button>
</form>

Full details: Forms with File Upload.

4. Booking widget

Embed the calendar with booking-widget.js and booking-widget.css. Whitelist your store domain on the form, and configure Google Calendar invite settings in the dashboard.

<link rel="stylesheet" href="https://myformconnect.io/booking-widget.css">
<div id="mfc-booking" data-form-uuid="YOUR_FORM_UUID"></div>
<script src="https://myformconnect.io/booking-widget.js"></script>

See Booking widget docs.

5. Lead management

Submissions with name and email become leads when Track for Leads is enabled on the form (on by default for new forms). The same email across contact, quote, and booking forms shares one lead history in MyFormConnect. Uncheck Track for Leads on a form if that form should not create or update leads.

Not required

  • Installing a Shopify app
  • App Proxy configuration
  • Shopify Script Tag API
  • Third-party widget hosts or legacy callback widgets

Common problems

  • No Custom Liquid option: your theme may be older — look for Custom content / HTML, or add the form in a page template your theme supports.
  • Submissions rejected / CORS: add your live store domain (the customer-facing domain, not only .myshopify.com unless that is what shoppers use) under Domains in MyFormConnect.
  • Files fail on Basic: file uploads require Pro or Agency & Enterprise.

Need Help?

Our support team is here to help you with your integration.