Product question on a product page
What it does
A button on your product pages opens a short question form in a popup. The visitor picks a topic, types the question and their name and email address. You get the question together with the product it's about, and the visitor gets a confirmation that names the product. Nobody has to type the product's name.
Uses: the Product Inquiry template, which comes with the Product Request add-on (Creating forms), and Writing email content.

Before you start
- The Product Request add-on is installed, Enable Product Requests is Yes and Display Locations includes Product View, as it does out of the box.
- Deliver Notifications is on, so WebForms sends email. See Quick start, and How email delivery works for what it holds back.
- Your store's Sales Representative address in Stores → Configuration → General → Store Email Addresses is a mailbox your team reads.
Steps
Create the form from the template
-
Go to Content → WebForms → Manage Forms.
-
Click Add Form.
-
In the list on the left, under Product Inquiries & Quotes, click Product Inquiry. The panel on the right lists two emails, both switched on: Office copy to your sales contact and Customer confirmation to the customer. Leave them on.
-
Click Use This Template. The builder opens with your new form: Name, Email, Topic, the questions that belong to each topic, Your question, the Privacy checkbox, the CAPTCHA and the Send question button.
Topic is required. Each topic shows its own questions through rules: Sizing and fit asks for measurements or the usual size, Compatibility asks what the product must work with, and Stock and delivery asks for the quantity, the date and the postcode.
The form has no heading and no Product field. In the popup, the add-on's Popup Title names the product, and the add-on saves the product with the submission.
Name the form and switch it on
- Click Next: Settings at the right end of the top bar.
- In Name, enter the name you'll see in the admin, for example
Question About a Product. - Turn on Enable Form (it changes to Yes).
- Click Placement in the list of sections on the left. In Form Page, select Embed Only: visitors open the form from the button, so it needs no page of its own.
- Click Save. The message "You saved the form. It has no page of its own: add it to CMS pages or blocks with the code on the Placement tab." appears.
Choose the form for your product pages
- Go to Stores → Configuration → MageMe Extensions → WebForms, expand Commerce and find Product Requests.
- In Default Form, select your form.
- Click Save Config.
To use the form for some products only, set Product Request Form on those products instead. See Product Request.
What you should see
-
A product page shows the Ask About This Product button. A visitor clicks it, and the popup opens titled "Ask about" and the product's name. They pick a topic, type the question, enter a name and an email address, select the Privacy checkbox and click Send question. The form is replaced by "Thank you. Your question about this product is on its way, and the answer comes by email."
-
In Content → WebForms → Inbox, the submission is titled with the topic. When you open it, it starts with Requested Product: the SKU in brackets and the product's name, for example "[NO-SOFA-FJORD] Fjord Three-Seat Sofa". The question and the visitor's details follow.
-
Two emails arrive a little after the visitor sends the form:
Email Sent to Subject Product Inquiry — office copy Sales Representative "Product inquiry", the topic and the product's name Product Inquiry — customer confirmation The visitor "Your question about" and the product's name
Make it yours
- Change the button and the popup title. Button Text and Popup Title are in the same Product
Requests settings. In both,
{{var product.name}}prints the product's name. See Settings: Commerce. - Change the topics. Edit the options of Topic to match the questions you get, such as delivery or care. If you remove a topic, remove the questions its rule shows too. See Options.
- Edit the customer email before you go live. Change its text to your own. See Send a confirmation email to the customer.
- Answer the question from the admin. See Replying to customers.
Limits
- Default Form is one form for the whole store view. Every product page that shows the button opens it, unless the product has its own Product Request Form.
- The product is saved only when the visitor opens the form from the button. Sent from anywhere else, such as a page of its own, the submission has no product, and the email subjects leave the name out.
- If you add a heading to the form, the popup shows the heading instead of Popup Title.
- The emails' table of all answers doesn't list the product. Only the places where you put
{{var product:name}}name it. - The submission keeps the product's name and SKU as they were when the visitor sent the form.
Troubleshooting
- The button doesn't appear on product pages. Check Enable Product Requests, Default Form and Display Locations for that store view. See Product Request.
- The popup opens another form. Default Form points at another form, or the product has its own Product Request Form.
- The email subject has no product name. The submission wasn't sent from the button.
What's next
- Product Request: every setting of the button, including the button in category listings.
- Replying to customers: answer the question from the admin.
- Popup callback form: open a form from a button on any page.