I am trying to figure out a way to add a product interest button on my product page where it automatically fills in the product the customer is interested and allows them to put in their information.
I know people can do it through some shopify apps, it doesn’t seem to work for me. I currently use Form App for my contact us page.
Hi @user5961 ,
I hope this message finds you well.
Check your Form app supports URL parameters.
If yes, you can pass ?product={{ product.title }} when linking to the form.
Then configure a hidden field in the form that auto-fills from that parameter.
If your form app don’t supports URL parameters it can be achieved with customization.
If you want customization please share Collaborator code in personal message (It should not share in public ).
The issue you’re facing is that a standard contact form has no context for which product a customer is viewing. You need a solution that automatically passes the product’s information into the form fields.
You have two main options:
The App Approach (Recommended): Search the Shopify App Store for “Back in Stock Alerts” or “Product Inquiry”. Apps like Back in Stock - Restock Alerts or Klaviyo are purpose-built for this and are the most reliable solution.
The Custom Code Approach: This involves using JavaScript to grab product data from the page and pass it into hidden form fields. It’s more complex but offers full control over the design.
Given your site’s clean design, an app is likely the most straightforward path. They sometimes require minor CSS tweaks to match a theme perfectly. If you run into styling issues, feel free to post a follow-up with the specifics.
Hi @user5961 ,
A simple and effective way to approach this is by using a form. Currently, as I can see, when clicking on the ‘Request a Quote’ button, it redirects to the contact page. Customers just need to fill in their information and submit the form. Your website is already handling this well. If you have any questions, please let me know.