Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Commerce File adds the ability to sell access to file downloads to your Drupal Commerce site. It extends the Commerce License module with a new license type that grants customers access to download the files you upload to the products they purchase.
Features
- The "License completion message" checkout pane allows the customer to download the newly licensed files even if they are not logged in.
- Licensed files can be downloaded or streamed from the user's Files tab.
- File licenses can be time limited and are automatically expired (by cron) once that time passes.
- The number of downloads / streams can be limited. Once the limit is reached, the file is listed but can't be accessed.
- Integrates with Amazon S3, allowing licensed files to be retrieved directly from Amazon, using a secret and temporary URL.
Related contributed modules
- File Field Paths - Provides token support for the upload directory name and file name
- File Field Sources - Provides the ability to reference existing files on the site.
Supporting organizations:
Development and Support
Project information
- Module categories: Access Control, E-commerce, Media
- Ecosystem: Commerce Kickstart
- 1,209 sites report using this module
- Created by recrit on , updated
- Stable releases for this project are covered by the security advisory policy.
Look for the shield icon below.
Releases
8.x-2.1
released 31 May 2023
Works with Drupal: ^9.3 || ^10
✓ Recommended by the project’s maintainer.
Install:
Development version: 8.x-2.x-dev updated 7 Dec 2023 at 21:47 UTC
7.x-2.0-beta3
released 4 June 2014
Works with Drupal: 7.x
✓ Recommended by the project’s maintainer.
Development version: 7.x-2.x-dev updated 12 Aug 2020 at 18:33 UTC
7.x-1.0
released 11 July 2013
Works with Drupal: 7.x
Development version: 7.x-1.x-dev updated 17 Mar 2014 at 14:43 UTC