KonaKart supports digital downloads which can be downloaded from the KonaKart on line store, as soon as payment is received for the products. A new section appears on the customer's Account page, with a link for each downloadable product in the order.
To configure KonaKart for selling digital downloads, the following steps must be taken :
Using the Admin App, ensure that the "Product Type" attribute of all downloadable products is set to "Digital Download". You must also enter the "File Path" and the "Content Type"
File Path : The File Path will be concatenated to the "Base Path" defined by a configuration variable. For example, if the Base Path is set to "C:/images/" and the File Path is set to "cities/london.jpg", then the downloaded file will be C:/images/cities/london.jpg . If the Base Path is left empty (default value) then the File Path must be set to the full name, i.e. C:/images/cities/london.jpg . Note that if the Base Path ends with a "/" then the file path should not start with a "/" because the two strings are concatenated to create the full path for the digital product.
Content Type : The Content Type describes the content of the file. Examples are "image/jpeg" or "application/pdf". A list of Content Types may be found here.
Using the Admin App in the section Configuration>>Configure Digital Downloads you may configure some parameters regarding the digital download functionality. These are:
Base Path : The base path of the downloadable files as explained above.
Max Number of Downloads : The maximum number of times that the file can be downloaded. -1 for an unlimited number of downloads.
Number of days link is valid : The number of days that the download link is valid for. -1 for an unlimited number of days.
Delete record on expiration : When the download link expires, the database table record defining the link will be automatically deleted. Setting this to true avoids having to do manual cleanup of the database.
Download as an attachment : When set to true, the digital download is downloaded as an attached file that can be saved on disk. When set to false, the browser attempts to display or run the file.
The digital downloads shipping module must be installed in the Modules>>Shipping section of the Admin App. This shipping module activates automatically when the whole of the order consists of digital downloads and displays a $0 shipping cost. Any other shipping module should not return a shipping quote in the case of a digital download order.