Creates file download products for e-Commerce.

This module depends on Private Upload and the e-Commerce package and is still under active development.

Setup

  1. Install the e-Commerce module.
  2. Download the private upload module, enable it and take a look at its settings:
    ADMINISTER > SITE CONFIGURATION > PRIVATE UPLOADS
  3. Enable the ec_file module.
  4. If you haven't already, create a Content type for your file download by going to
    ADMINISTER > CONTENT MANAGEMENT > CONTENT TYPES > ADD CONTENT TYPE
  5. Now add a Product type to link to your Content type by going to:
    ADMINISTER > E-COMMERCE CONFIGURATION > PRODUCTS
    and click on "Add".
  6. Give your file download product type a name, like "File download." In "Type" put in something like "file_download". Put in a description and select the content type/s which you'd like to enable file downloads for and click "Submit product type".
  7. Edit your new product type and click "Add feature". Select "File download product" and click "Add product feature."
  8. Edit your file download content type and under "Product" select the product type you've just created and click "Save content type".

Great! You now have a content type and a product type which lets a customer buy your file download product. Take a moment to bask in the glow of your monitor.

To buy files

Purchase a product node (with a File download product feature, as described above, and at least one file which is marked "sell") as per normal. Once the transaction workflow for the product is marked as "Completed" the downloadable files are available to the user at:
MY ACCOUNT > STORE > MY FILES

To do

  • Add expiry for file downloads.
  • An upgrade path from Drupal 5/e-Commerce 3 to Drupal 6/e-Commerce 4.

Project Information

Downloads