Cart downloads - playable audio?

Phoca Cart - complex e-commerce extension
boomla
Phoca Newbie
Phoca Newbie
Posts: 9
Joined: 07 Sep 2010, 23:22

Cart downloads - playable audio?

Post by boomla »

Hi,

I'm building a tiny webshop, mainly but not entirely using audiofiles as products.
When I log in as user->Downloads, I can DL the file.

Any thought on how I can make this file playable in the same listing?

Thanks for any feedback,
User avatar
Benno
Phoca Hero
Phoca Hero
Posts: 9449
Joined: 04 Dec 2008, 11:58
Location: Germany
Contact:

Re: Cart downloads - playable audio?

Post by Benno »

boomla
Phoca Newbie
Phoca Newbie
Posts: 9
Joined: 07 Sep 2010, 23:22

Re: Cart downloads - playable audio?

Post by boomla »

Hi Benno,

Thanks for your reply,

It seems to describe the fuctions public download file in the shopping cart.

I'm looking for my customers to be able to listen the the file they have already bought.
After login -> phoca menu "Download" - here, they can download the file, but as it is now, they cannot push a play-button to listen to /stream the file from the same screen.
I'd like to give them that option.

Hope, it makes sense ;)
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48403
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Cart downloads - playable audio?

Post by Jan »

Hi, the section is just a download of files which were bought. There is a counter of download hits, which can e.g. prevent download since some count of downloads, etc. If you want to have some part of your site where users can play music, etc. maybe for your needs it is better to sell access to your content. Which is a little bit different to sells goods. :idea:

So for now there is no such option and it will be hard to implement. As mostly you can have downloadable files behind e.g. public_html folder to protect them for download. Such files cannot be played in browser as they cannot be accessed by webbrowser. They can be given for dowload by server (after login, protected) but they cannot be directly accessed to play.

So if you want to have files to download protected - they can be downloaded after login, after ordering, but they can be not played - because for playing you need direct access to such file and because of security you just will not give direct access to such file as then it can be abused by someone who didn't buy the product.

Downloadable file - no direct access, with token, cannot by easily abused
Playable file - direct access, no token, can be easily abused.

This is why the play function works e.g. for demo music not for whole music which can be bought in the shop.

Jan
If you find Phoca extensions useful, please support the project
Post Reply