[ad_1]
Hello guys, basically what i’m trying to do is to put a form inside every woocommerce product in my website and when they compile the form on that particular product we get an email from which product page it was sent from or something like that, how can i do that?
Also, they, for example, might wanna change the color of the product so there should be an option on that form that makes them change the color. How can i make that variable on the form? Do I need to make some integration of some sort? Does wpform do that?
Thanks in advance 😀
[ad_2]
The idea is to:
1. Output your form in your product page template.
2. Add a hidden field to it, and tweak it so that its default value is a unique identifier for your product (such as its ID).
That way any submissions that comes from this form will carry the product ID it’s related to. What form plugin are you using (if you are using one)?