Jump to content

Contact Form Fields


Recommended Posts

Hi there,

I have a small issue with the contact form in prestashop. I would like to add an additional field to the form which contains the persons name.

Currently it asks for email address and a message. I would like to add Name also.

I am aware of other posts on the forum which detail how to do this, however they all seem to involve modifying contact-form.php, which to me is not an ideal solution.

Regards, Tas

Link to comment
Share on other sites

You've probably already read this thread, but if you haven't... http://www.prestashop.com/forums/viewthread/11123/third_party_modules/creation_of_new_fields_in_the_contact_form

Unfortunately, there is no easy way to modify the code to add additional fields to the contact form (or any form for that matter) without editing contact-form.php. In fact, you will also have to modify themes/prestashop/contact-form.tpl and mails/en/contact-form.html

There is no BO option to modify this code, and to the best of my knowledge, no module that would accomplish this -- if these options are what you were looking for.

HTH!

Link to comment
Share on other sites

  • 2 years later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...