Re: MP3 Shop / Download previews

a_c_m@drupal.org's picture
Offline
Bug Finder
Joined: 01/02/2008
Juice: 288
Re: MP3 Shop / Download previews

Cool! Yeah i think thats a very nice addition.

I've in fact taken another route for now, as the client wanted to see something asap (but we may revert to the auto-generated method). Here is what i've done so far.

2 new content types, made into products.

* product_track
- title
- body
- audio CCK (for preview)
- attribute for MP3/WMA/OGG etc

* product_album
- title
- body
- image
- node reference (multi) for track listing

At this stage the main 2 obvious problems facing me are :
- node reference just shows a text link, not a teaser / preview + add to cart link => fixable with theming i think
- node reference only giving 3 auto complete boxes by default, so you need 3 or 4 page refreshes to put a full album list together. => not sure how to fix this... anyone?

While thinking about this, i noticed that this CCK node reference solution could be a very nice way to offer complementary products on other shops. e.g. linking mp3 player to new head phones etc...

I did consider using CCK view reference, but it wouldn't have been able to give me the control over the track listing order that i would need.

As always i'm in #drupal / #drupal-support / #drupal-dojo if anyone has any bright ideas how to fix my 2 problems.

Drayen.

MP3 Shop / Download previews By: a_c_m@drupal.org (29 replies) Wed, 01/02/2008 - 12:23