Jump to content

Add file for download


Recommended Posts

Solved: just added the file to my server and the url becomes yourdomain.com/file.txt when you add the file in the root folder of your application. Maybe helps someone in the future.

 

I need to add a file to my server and provide an url for download. First thing I thought of was to add it as an attachment to an invisible product but I will be updating this file and the url will not be permanent since I have to upload a new attachment each time I need to update the file.

 

Do prestashop have any kind of controller php file I can eddit to be able to download the file? Or any back office functionality that is designed for add files available for download?

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

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...