Download | Last Update: 11th June, 2005 Article ID: 162 |
- Introduction
- Download
- Enable Download
- Download by Redirect
- Expiry Delay (Days)
- Maximum Number of Downloads
Introduction
The "Download" link allows customer downloading of products after they are purchased.
Download
Figure 1 shows the
Download listing page under the Admin>Configuration>Download section.
Figure 1. Download listing page under the Admin>Configuration>Download section.
NOTE: To change the details click the "wrench graphic tool" under the "Action" column next to the "Title" being edited.
The products to be downloaded after purchase are put in the catalog/download folder.
The catalog/download folder will be read from the "pub" folder.
Make sure the /catalog/pub folder is 777 and /catalog/download folder is 755 and these lines in catalog/includes/configure.php have the forward slash:
define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/');
define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG . 'pub/');
The configuration for the Download section is:
Enable download
Whether or not downloadable products are allowed.
Download by Redirect
Use browser redirection for download. Disable on non-Unix systems.
Expiry Delay (Days)
How many days the download will be available for before being deleted.
Maximum Number of Downloads
Maximum number of times the customer will be able to download the file before they are locked out.
After the product is added go to the "Product Attributes" section under the "Catalog" heading in admin.
Choose the product in the bottom "Product Attributes" box.
When you choose a product and have download enabled in the configuration section you will see a box below the "Product Attributes" section where you can add the name of the product to download. Again make sure the pub directory has permissions of 777.