Add product title to enquiry form from product page
Hi,
I'm hoping to create a button which will add the title of a product to an enquiry form. The enquiry form will be on the enquiry page. I'm looking for the easiest way click a button on the product page, and the data be sent to the enquiry form page so when the user is ready to submit the form, they have a list of products they want to enquire about.
I'm open to marketplace modules or building this myself from scratch, any help would be appreciated.
Add product title to enquiry form from product page
You can do this by adding the value you want to populate in the form to the button's URL as a query string (see here).
So if the internal form field name is product_type and it's a dropdown with the product's internal value being ProductA, for example, your URL might look something like: