Jump to content

How to change the contact form fields


Recommended Posts

Hello

I am currently using 1.5 and am building my own website

Is there any way of customizing the contact form to have my own fields in it

 

For example

I would like to change the name of it to Get a Quote

 

and have these fields

 

email

registration No

delivery address

part required (This will be a drop down box with various items in it)

part no if Known

Is there any way of doing this.

Hope you can help

Julian

Link to comment
Share on other sites

you can achieve it only with modification of controller and your template files.

 

controller ContactController.php

tpl: contact.tpl

 

you have to add your new fields to your contact.tpl file, and handle it in controller (like other fields)

Link to comment
Share on other sites

the other method is to look for a module that allows you to customize your contact form

 

for example only, you should do your own research as well

 

http://addons.prestashop.com/en/administration-tools-prestashop-modules/1313-customizable-contactform.html

 

 

the other alternative is to integrate for example jot form into your shop.  After working with smarty and ps, I would not try to change my own contact form unless I had nothing else to do (read sitting on a deserted island)....so look for the good work of others and invest wisely.

Link to comment
Share on other sites

×
×
  • Create New...