|
After you have successfully installed the Egoods module, click on the 'Egoods' module link to proceed to the module's settings page (Figure 3).

Figure 3: Configuring Egoods module settings
In the settings page, set the following parameters:
| • | 'Directory where egoods will be stored' – type here either an absolute path to the directory, or the path relative to LiteCommerce installation root directory. The directory must exist on the server and the web user must have write permissions for it. |
| Note: | If you provide an invalid directory in the 'Directory where egoods will be stored' field, a warning message comes up in 'Egoods' tab of product pages (Figure 4). |
| • | 'Egoods links expire on' – this parameter defines the default egoods link expiration condition and can be set to 'Date', 'Downloads' or 'Date and downloads'. If you select the 'Date and downloads' option, the egoods product expires as soon as the first of the two expiration conditions is met. |
| • | 'Egoods links expire in (days)' – if egoods links are set to expire on 'Date' or 'Date and downloads', this parameter defines the default amount of days the link remains valid before it expires. |
| • | 'Number of available downloads' – default amount of product downloads available through a single automatically-generated product link. |
Review your changes and click on the 'Submit' button to save new settings.

Figure 4: Warning message
After you have completed the form on the module configuration page make sure you take the following steps:
1. Protect your egoods storing directory from unauthorized access. You can do this with the help of .htaccess file. Read more about it at http://httpd.apache.org/docs/2.2/howto/htaccess.html.
2. Allow uploading your product files by assigning 0777 permissions to the egoods storing directory. After you finish adding products make sure you change the directory permissions back to 0755.
|