btanice.blogg.se

Prestashop contact form module free
Prestashop contact form module free








That's all! from now your contact from will support new fields and these additional informations will be delivered with message. replace it with: $message = $this->l('Name:').there is a line with code: $message = trim(Tools::getValue('message')).Then open file: /modules/contactform/contactform.php.add there code to support new fields like i attached below.please open this file: /modules/contactform/views/templates/widget/contactform.tpl or if exists: /themes/your-theme/modules/contactform/views/templates/widget/contactform.tpl.

Prestashop contact form module free

But of course you can use any number of own fields.Īdding new fields in PrestaShop 1.7 contact form Thanks to this tutorial your contact form will have additional fields "name, company name, phone". In this short guide i will point you a steps to add new fields in default prestashop's contact form page.










Prestashop contact form module free