Add A Form To Your Product Page That Will Tag The Product When Submitted

This workflow will allow you to add a form to your product page that, when submitted, will tag the product. It can be useful for a feedback form or other use cases.

We can do this with a workflow that’s triggered by our Form Builder.

Watch The Demo

Preview Workflow

And in this example, I’ve just simply added a textarea field to the form to capture some feedback, but you can add all types of fields to the forms:

And then you’ll want to copy the form embed code and paste it into a Custom Liquid section within your product page template.

The one change you need to make manually to the embed code is to add a hidden input for the product_id:

<input type="hidden" name="product_id" value="{{ product.id }}">

You’ll want to add that in between the <form> and </form> tags in the embed code, which will look like this when you initially copy it from MESA:

And you’ll want to edit it to look like this:

But remember not to use my embed code from the demo here – you’ll want to use yours here:

How do I use this demo file?

  1. Add MESA from the Shopify App Store. Enjoy a 7-day free trial to start.
  2. Import this download to My Workflows. Navigate to your automations then follow the prompt to import a workflow. Upload the downloaded ZIP file from this demo.
  3. That's it! Personalize any step if you want. You got this.
  4. Questions? Shoot me an email: [email protected]
We literally wrote the book on Shopify automation

Learn how to make Shopify work easier with your business processes.

Get the playbook - Free!

shopify automation playbook PDF