Commerce Module Tuesday: Commerce File (Screencast)

Commerce File is an outstanding and mature module that allows you to sell downloads. It uses Drupal 7's private file system and provides a field that can be added to a product for the downloadable item. If you're interested in Commerce File, you may also be interested in the Commerce Downloads distribution, which comes with Commerce File completely preconfigured for use.

Here's how you set up to sell downloads with Drupal Commerce:

  • Download and enable Commerce File.
  • Make sure that your private files system is properly configured (admin/config/media/file-system).
  • Add a field of type "Commerce File" to the product type you want to use.
  • Create products and display nodes as you need.
  • Let people buy!

The default rules provided with Commerce File grant licenses to the file when the order gets to the "Completed" stage. Your store may not be set up to automatically complete orders; you can change this with rules based on your payment strategy.

And don't forget to read the Commerce File documentation page, which provides more information.

Posted December 13, 2011

Comments

Submitted by Darri (not verified) on

Using the commerce_file module is there any way to offer different prices for a single product depending on product variation? I'm trying to build a site that offers audio downloads in different formats with low quality formats being cheaper than high quality ones.

I've got this working with D7 Ubercart, but would prefer to use D7 Commerce module as it has a more user-friendly product management workflow. Thanks for the great tutorial :-)

Add new comment

Filtered HTML

  • Web page addresses and e-mail addresses turn into links automatically.
  • Allowed HTML tags: <a> <em> <strong> <cite> <blockquote> <code> <ul> <ol> <li> <dl> <dt> <dd> <p> <br>
  • Lines and paragraphs break automatically.

Plain text

  • No HTML tags allowed.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Lines and paragraphs break automatically.
X
In 2019 Commerce Guys rebranded to Centarro.

Change is at the center of eCommerce, but our team and mission remain the same.

Our consulting, development, and support offerings apply our expertise to help you adapt to change and grow.

Find us now at: https://www.centarro.io