Hi there,

I´m quite new in the world of Drupal and drupal-commerce.
I do appreciate a lot the contribution of yours. I think the combination of DP7 and commerce is just a killer.

After a couple of basic play arounds I have realized the whole thing just blow my mind yet.

So I was wondering may some other guys want to do the same stuff like I´m working on.

Here is what I´m looking for:

A music download store based on DP7 drupal-commerce with the commerce-file modul in it.

Each song should be a single product with the commerce-file field and another field for a preview file who´s is stored in a public file folder.
The customer should allowed finding music by using taxonomy.

Therefor a temporary product page is needed, who shows all relevant product-line-items in a list, depends on what tags the customer hase chosen.

Each line-item in this, lets say result list, should show the product name, a link to the preview file and the "ad to card" button.

The customer should allowed either way, checkout by only paying without the need of an account, or make an account and get the benefit of
a download history and discount for example.

After a verified purchase the system should render a zip file (don´t know what module could provide this) of all single files of the cart.

Finally send a download link with a expiration date or ip etc.

So I hope some one like to get in this.

Kirk

Comments

tvilms’s picture

Hi Kirk, I understand what you're describing. I'll give you some details that may help. Maybe you've made lots of progress since the original post, maybe not.

  1. File handling- You seem to understand. Store the files you're selling in a private file directory to prevent access by non-buyers. I haven't tried putting the file preview on the same node (the product itself), and storing that in a public directory, but the plan is sound. Anonymous visitors can then listen to the file if you've installed a media player (I like SoundManager2).
  2. Creating products- You're on the right path. Set up a new Product Type and add the fields with information about the songs. Create a taxonomy and add a "term reference" field to the product type.
  3. Displaying the products to users (Option One)- let the Taxonomy module do the work. If someone clicks on a particular taxonomy term, they'll get a list of nodes that are tagged with that term. However, depending on how you set up Access Permissions, you will likely want to limit users viewing Product nodes directly. One of the general use cases with Commerce is that you set up a Content Type to show the "display" of the Product, and on the Product's Display node, you set up a Product Reference field that holds the link to the product. Then you control display of product information through the Display content type. This adds complexity, but apparently the Commerce community designed this with many logical benefits in mind. For a developer/designer, you can search for threads on how to do automatic Display Content Node creation when a new Product is created, or vice-versa, automatically create a Product when a Display Node is created.
  4. Displaying the products to users (Option Two)- Use the views module. Create a view that filters Products by taxonomy term. Add in a view option to let users choose what taxonomy term they want to filter by. Then you can set up a table of Products and in the columns show the various product fields, like maybe the Media Player of the Preview file in one, and the "Add to Cart" button in the other. From what I've seen, using views can actually save you the trouble of setting up Display Content Types.
  5. Zip File download- Not sure how to help.
  6. Other behaviors- Generally, the Rules module will handle things like distributing/permitting file licenses, sending emails, etc. Many of the Rules for Commerce are integrated with Commerce, but you'll probably have to do some changes or create new rules too.

Good luck! Keep us posted.

mediapal’s picture

Hi tvilms,

Thanks a lot for all your advice.

Meanwhile, I did some work on my project and have success so far and I really loving Drupal. It´s fun.

Please have a look on www.devel.mysoftmusic.com/meditation

It is only in a prototype status yet.

Kirk

bojanz’s picture

Status: Active » Closed (fixed)