OSCommerce Digital Download Settings
OSCommerce Digital Download Settings
For OSCommerce to allow for digital downloads, you must make the following changes to
both your Store Admin, the files that you are supplying for download and cPanel on your
server.
All downloadable files must be placed in the ‘download’ directory on the server.
cPanel Changes
Ensure the following directories on your server have permissions set to the following;
Please Note; these settings can be changed in the cPanel File Manager
1
- Set the Enable GZip Compression to ‘True’
- Set the Compression Level to ‘5’
2
2. Go to Admin/Catalog/Product Attributes page. Under ‘Product Options’ called
‘Download’ or something your customer will recognise.
3. In the same Products Attributes page, create an ‘Option Value’ of ‘Yes, or Only or
Whatever’.
4. Still within the Products Attributes page at the bottom of the page, you will find a
drop-down menu of each of the products you’ve added. Find the product you wish to
offer for download and select it.
5. Under the ‘Option Name’ choose ‘Download’ or whatever you used in step 2.
6. Under ‘Option Value’ choose ‘Yes’ or whatever you used in step 5.
7. Set your price for the product (normally left blank as price is set when you create the
product in /catalog).
8. Skip the ‘Prefix’ section.
9. Type in the exact name of the download file as it was save in the /catalog/download
folder. Ensure there are no spaces in the file name and that it ends with a .zip file
extension.
10. Set the number of days the purchase download will be available to your customer.
11. Set the maximum of download tries you wish to grant the customer.
12. Click the ‘Insert’ button.
PLEASE NOTE;
Ensure the followings lines have a ‘/’ at the end of the line of code
Define(‘DIR_FS_DOWNLOAD’,DIR_FS_CATALOG .’download/’);
Define(‘DIR_FS_DOWNLOAD_PUBLIC’,DIR_FS_CATALOG .’pub/’);