The product name can be included as a visible field in the form or as a hidden field.Įdit the contact form and insert a new form field that will hold the product name. We need to add a field to the CF7 form with the product name as its value so that it can be included in the email that CF7 sends. We need the features of the Contact Form 7 Dynamic Text Extension plugin. For the enquiry form you can edit an existing form or create a new one.ĬF7 forms do not have any dynamic features so the email sent by the form won’t tell you the product page that the form was submitted from. ![]() You will also need the Contact Form 7 Dynamic Text Extension plugin, a companion plugin to Contact Form 7.Īfter you install and activate the Contact Form 7 and Contact Form 7 Dynamic Text Extension plugins you can go to the Contact/Contact Forms page. I recommend the very popular Contact Form 7 (CF7) plugin. ![]() I will show you how to include the product name in the query email without having to have a different form for each product, and how to automatically add the form to each product page. ![]() Instead of requiring them to go to your contact page you can make it much easier to ask their questions by added a simple contact form to the product page. Sometimes a customer has questions that the product description and photos don’t answer. I have added a WooCommerce version number to the code so that you can see what version I have tested the code on.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |