Opencart is a open source online store with everything that you could need built right into it so you basically just plug and upload and play.
I assume you’re already there, and now you want to add a product to your store that is downloadable, like an e-book or photograph.
Now, the problem here is that you don’t want it available to the client until they pay for it.
Not to worry, Opencart has you covered. The process goes like this.
- Upload the file you want available to download to your site, by going Catalog -> Downloads
- Add the Download Name of your choice, this will show up on the product page later.
- Click the upload button, and it should open up a File Open box to select the file you will want to make available for the user to download after they’ve paid for the file.If this doesn’t work (some files are to large for the browser to upload due to server restrictions) you’ll need to upload the file directly to your website via FTP.
If you have to upload via. FTP, you upload it to the Downloads folder, which is located in the root of your store. After you upload the file here, you simple enter the file name (with extension) into the box next to the upload button. So, you’d just enter “uploadedfile.pdf” into the box.
- Fill out mask if you wish, I think it’s supposed to confuse people about how the name of the file so they cannot hack your store and download the product for free.
- Once everything is filled in as you like, click Save in the upper right corner of the page.
- Now, you need to enter in your product just as you always do for the rest of your products (Catalog -> Products).
- On the Links tab at the top of the new product page, halfway down the page, you’ll see Downloads, and it should also show the new download file you just uploaded. Select that product.
- Once the rest of your product data is entered as you desire, click Save in the top right.
- Do happy dance.
NOTE: In Opencart, the download won’t be available until after the customer pays for the product.
Hope this helps!
Thanks to Opencart Turorials for their article which helped with this.