osCommerce Knowledge Base

Download

Last Update: 11th June, 2005
Article ID: 162



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:

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.

 

How helpful is this article?