How can I configure a music album download?
Hi, I am working on a Digital Music Store so I can sell single tracks and albums, but how can I configure the store so that when someone buys the album He can download all the songs in it separately?
Hi, I am working on a Digital Music Store so I can sell single tracks and albums, but how can I configure the store so that when someone buys the album He can download all the songs in it separately?
you would need a linking table to assign the tracks to the album
albumtracks:
albumtrackID - primary key
albumtrackSongID - realtes to the songs.songID
albumtracksProductID - relates the products.productID that is the album ID number
then use a join query to return the songs that reate to the selected album.
http://www.w3schools.com/sql/sql_join.asp
Thank you Jason, please guide me a little more, I'm completely lost. I already created the table.
What specifically do you need help with? What part are you lost on?
In which page should I make the table joins? In the download center? Or in the admin part where you insert the a new product? If you have any guide or tutorial will be great.
the join should be on the download center page.
Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.
These out-of-the-box solutions provide you proven, tested applications that can be up and running now. Build a store, a gallery, or a web-based email solution.