bashdot Posted January 28, 2008 Share Posted January 28, 2008 Hi, <newbie alert!> Does Prestashop provide the facilities for selling PDFs, zip files etc? I am looking to create a website to sell PDFs, powerpoint presentations that I have created. Ideally something like Lulu.com should be sufficient for this, but I am looking to build a website all on my own, in an effort to learn about building e-commerce applications. Does Prestashop provide the necessary functionality for this? Or is any other open source e-commerce application more suited to this? Please advise! What I have in mind is something like this: I have a page detailing a book that I have written. Now when the user clicks on a link he goes to a Paypal page to pay for the book in PDF format. After he pays, a link shows up which gives him the URL to download this book as a pdf or as a zipped PDF, Doc file. This link should be autogenerated and should work only for say 12 hours or a maximum of 3 downloads after which it should not work. Thanks in advance! Link to comment Share on other sites More sharing options...
Peter Wilson Posted January 28, 2008 Share Posted January 28, 2008 Hi bashdot, Welcome to the PrestaShop Forum! Your timing is good -- we've just recently implemented a services & virtual goods feature on PrestaShop. It can be hard to locate at first : In the Back Office >> Catalog, go to the item's product page. On the Information tab, you will see a checkbox: "Is this a service or virtual product?" When you check the box, functionality related to virtual goods will appear. Please come back and let us know what you think, especially if you encounter any bugs! : Link to comment Share on other sites More sharing options...
Tyler Posted March 14, 2008 Share Posted March 14, 2008 Hi How i change the limit of 2MB to upload virtual files? Link to comment Share on other sites More sharing options...
Peter Wilson Posted March 21, 2008 Share Posted March 21, 2008 Hi Tyler, Try adding this bit of script : <?php @ini_set('upload_max_filesize', '100M'); ?> (in that example, the max size is set to 100M but you can change it to whatever you want) to the file /config/config.inc.php Does that work? Link to comment Share on other sites More sharing options...
alespar Posted March 22, 2008 Share Posted March 22, 2008 Good am new to this script and I did not understand how to create a script in / config / config.inc.php I podrias porner more clear. Thanks in advance Link to comment Share on other sites More sharing options...
kink Posted March 25, 2008 Share Posted March 25, 2008 Hi alespar! As Peter said, edit your /config/config.inc.php file and add the code, for example, after the last line of this file. For example, the last lines will be: ... global $link; $link = new Link(); $smarty->assign('link', $link); ?> <?php @ini_set('upload_max_filesize', '100M'); ?> To edit a file, you can use this method: 1) Download the file (using a ftp client) 2) Open and edit the file with notepad(or any text editor) 3) Upload the modified file to the server (overwriting the old one) Link to comment Share on other sites More sharing options...
StitchJunkie Posted March 15, 2009 Share Posted March 15, 2009 I finally was able to test purchase a pdf, download the file from my PS account, however the email confirmation of payment from PS doesn't have download LINKS. Is that possible, something I still need to set up? Thanks! Link to comment Share on other sites More sharing options...
kaiser101 Posted April 20, 2010 Share Posted April 20, 2010 I have the following problem: uploading files in pdf format for sale, but the customer gets the file only with an html/htm extension. So far there is no answer to the problem in this thread. Any ideas? Link to comment Share on other sites More sharing options...
Recommended Posts