If you want to send the product SKU or product title into the fields of your enquiry form you need to do the following steps: By default our plugin looks for the following two fields inside your rendered form:
- input with name “sku”
- input with name “product”
So for example when you use Contact Form 7 and you want to send along the SKU or product name then use the following shortcodes:
<p>Your Name*<br /> [text* your-name] </p> <p>Your E-Mail*<br /> [email* your-email] </p> <p>Subject*<br /> [text* your-subject]</p> <p style="width: 45%; float: left;>Product*<br /> [text* product]</p> <p style="width: 50%; float: left; margin-left:5%;>SKU*<br /> [text* sku]</p> <p>Your Message<br /> [textarea your-message 40x5] </p> <p>[submit "Send"]</p>
If you use another contact form plugin like gravity forms you can change the SKU and Product field names within plugin settings. Go to Single Product Pages and scoll to bottom. There you will find two fields to set your custom field-names.
Important: our plugin takes the “name” attribute. So if gravity forms created a field with the input name=”123-sku”, then you need to change the SKU field according to this name.