I'm happy now to announce that file downloads, the other big feature request for ubercart, has been brought into ubercart core. Using our product features system, uc_file allows store admins to attach a file download to any product. This approach allows any ubercart product (not just pure digital products) to be associated with file downloads. For example, you could offer a specific SKU for a book product that not only includes a book but also a copy of an e-book or perhaps an MP3 audio book. Additionally, store admins can configure to send customers emails after payment that include file download links. A detailed list of features can been seen below. Thanks to cPill who's original uc_file_product was the basis behind this module. Also, thanks to torgosPizza who was helpful in working out the implementation for uc_file.
Features
- Admins can set 3 optional limits on downloads (by # IP addresses accessed, by # of downloads, and by a set amount of time after purchase).
- The hook hook_download_authorize can be used by developers to place further restrictions on downloads.
- Unique download URLs. This means a customer doesn't need to log on to the store to download the file. Additionally, customers can always log on to view and download their previously purchased file downloads.
- Customizable emails can be sent to customers informing them of file downloads and their links.
- File downloads can be retroactively given to customers that have previously purchased certain model SKUs.
- Admins can grant file downloads through the user edit page.
- A basic file manager displays all files that exist in the file download directory and if they have an associated product or SKU. Admins can also upload and delete files through this page.
- The hook hook_file_action that allows developers to create new actions on files (for example an action that would add watermarks to select image files).
As a last note, I named the module such to prevent name space pollution with the original uc_file_product module. Unfortunately, one table name, uc_file_product, overlaps a table created by this module. People enabling this module should be aware that the tables created by the uc_file_products module should be removed to test out this module. Pick it up via bazaar as usual.







Joined: 08/07/2007