If this is your first visit, check our documentation. To post, register or login.
Forums / Setting Up Categories, Products, Attributes / trying to setup mp3 music website with ZC

trying to setup mp3 music website with ZC

Locked

Started by iconsultant on 8 Nov 2008, 5:44 PM · Views: 4,596

Results 1 to 7 of 7
This thread is locked. New replies are disabled.
8 Nov 2008, 5:44 PM
#1
iconsultant avatar

iconsultant

New Zenner

Join Date:
Nov 2008
Posts:
1
Plugin Contributions:
0

trying to setup mp3 music website with ZC

Hi Everyone,

I've installed ZC for a music shop that will sell mp3s, let the customer listen before they buy and of course, let them download the song once they have paid for it.

Does anyone know of a good tutorial on this? I've tried to setup the product for download in the public folder so that I can redirect the user there for download, I have pointed the url to /public_html/download/ .

However, when I look in the main shop, the product is out of stock (am I doing something wrong with the quantity settings?) Below are my settings:

Product is Free: No
Product is Call for Price: No
Product Priced by Attributes: No

Tax Class:
Products Price (Net): .99
Products Price (Gross): .99
Product is Virtual: Yes, Skip Shipping Address
Always Free Shipping: Yes, Always Free Shipping
Products Quantity Box Shows: No, Do not show Quantity Box
Product Qty Minimum: 1
Product Qty Maximum: 0
Product Qty Units: 1
Product Qty Min/Unit Mix: No

Thanks to anyone who replies!

9 Nov 2008, 7:20 AM
#2
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,512
Plugin Contributions:
176

Re: trying to setup mp3 music website with ZC

In the Product Quantity field , down below the description, put a value greater than zero if you want it to show as in-stock.
Also, with downloads, it's best to set "Product is Virtual" to No, since a download (as defined by its attributes) is even more special than "virtual".

Related FAQ: https://www.zen-cart.com/tutorials/index.php?article=71

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

21 Nov 2008, 10:34 PM
#3
larryjacobs avatar

larryjacobs

New Zenner

Join Date:
Nov 2008
Posts:
1
Plugin Contributions:
0

Re: trying to setup mp3 music website with ZC

I would like my customers to be able to download the music as an mp3. All posts that I see suggest that all downloadable files must be in a zip format. Can someone tell me if direct mp3 download is possible?

22 Nov 2008, 7:34 PM
#4
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,512
Plugin Contributions:
176

Re: trying to setup mp3 music website with ZC

Yes, direct .mp3 download is possible. However, the browser will likely open the file directly in whatever mp3 player software is configured on the customer's computer. The benefit there is that it not only plays immediately, but might even auto-add itself to their iTunes library, if that's how they're playing mp3 files. Some customers don't like that though.

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

24 Nov 2008, 3:33 PM
#5
paupau avatar

paupau

New Zenner

Join Date:
Nov 2008
Posts:
9
Plugin Contributions:
0

Re: trying to setup mp3 music website with ZC

Hi
I'm also working on a mp3 shop and have trouble pointing to the download librarys new location at the domain root. Get the message that the library dos'nt exist. How do you spell out the path in the configure files?
Cheers:cool:

25 Nov 2008, 3:30 AM
#6
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,512
Plugin Contributions:
176

Re: trying to setup mp3 music website with ZC

PauPau:

Hi
I'm also working on a mp3 shop and have trouble pointing to the download librarys new location at the domain root. Get the message that the library dos'nt exist. How do you spell out the path in the configure files?
Cheers:cool:
Zen Cart doesn't let you set the download location to be the domain root. Why are you trying to do that?

If you're trying to change things for security reasons, look at this FAQ article, including the links it has to other related articles: https://www.zen-cart.com/tutorials/index.php?article=121

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

6 Nov 2009, 6:18 PM
#7
jimosity avatar

jimosity

New Zenner

Join Date:
Nov 2009
Posts:
5
Plugin Contributions:
0

Re: trying to setup mp3 music website with ZC

If you edit the .htaccess file in your shop/download directory and include this:

AddType application/octet-stream .mov
AddType application/octet-stream .avi
AddType application/octet-stream .mpg
AddType application/octet-stream .jpg
AddType application/octet-stream .mp3

It will prompt you if you want to "Save" the MP3 instead of automatically just streaming it; which is very annoying for some users.

(I have other types listed there, but you should get the idea)