Jump to content

upload file from contact-form.php


Recommended Posts

I want to add "Upload file manager" in my contact-form.php. I am using the default mail module of prestashop. Can anyone help me where i need to add code and which files i need to modify.

what i want is that user fills a form and uploads some file and this form with the uploaded file is sent to the admin mailing address.

 

Regards

  • Like 1
Link to comment
Share on other sites

I want to add "Upload file manager" in my contact-form.php. I am using the default mail module of prestashop. Can anyone help me where i need to add code and which files i need to modify.

what i want is that user fills a form and uploads some file and this form with the uploaded file is sent to the admin mailing address.

 

Regards

 

it's not as simple as it seems. You must add new <input type="file"> into contact form and change class function for sending emails. If you don't know a lot about coding in php it can be difficult...

 

but in contact form is place to upload file so.... ? what do you exactly want to do? :)

Edited by vekia (see edit history)
Link to comment
Share on other sites

You can do this very easily by going to Employees > Contacts. Near the bottom you will see "Allow file upload". Set this to 'yes' and save. Navigate to your contact form and you should see a file upload box.

 

Hope that helps!

 

Marty Shue

 

I am using ver 1.2.5.0 of prestashop and i dont have "Allow file upload" in the Employees->Contacts Page in control panel. Can you guide more on this.

Link to comment
Share on other sites

I am using ver 1.2.5.0 of prestashop

 

Is there a reason you have not updated your store? And please don't say 'because it is customized' as we upgrade customized stores all the time (yes, even those running 1.2.5.0). In fact, we are in the middle of upgrading a highly customized store right now that is running 1.2.5.0.

 

So, is there a reason you are holding on to 1.2.5?

 

Marty Shue

Link to comment
Share on other sites

well i am just a programmer hired to do some stuff on the site. I am new to prestashop. And the website is new, it was developed by some programmers for my boss. So I have no idea why they used old version.

Can you help me with this older version. we shall definetly go to the updated version later on but have to work on this for the while.

 

Regards

Link to comment
Share on other sites

×
×
  • Create New...