Zen Cart Logo

Downloadable Product

Locked

Views: 8,249

Results 21 to 39 of 39
This thread is locked. New replies are disabled.
19 Jul 2007, 2:29 AM
#21
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Downloadable Product

*MODERATOR NOTE: *
There is a more detailed FAQ on this topic, available here:

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

======================================

Go to Option Names ... and create an Option Name that is either Radiobutton or Dropdown ...

Call it something like:
Download

Go to Option Values Manager and add what you want to call it ... example: Zip File

If you have multiple choices you could have:
MS Word Zip
Note Pad Zip
etc.

As the Option Names you create ...

Go to Attributes Controller and find the Product ...

Add the Attribute as:
Option Name: Download
Option Value: MS Word Zip
Sort Order: 10
Filename: (enter name of file you upload to /download)

Option Name: Download
Option Value: Not Pad Zip
Sort Order: 20
Filename: (enter name of file you upload to /download)

Now the customer can choose the format ...

Depending on your downloads you will want to adjust this ...

If using Radiobuttons and have multiple selections be sure to set one as a default ...

19 Jul 2007, 6:56 PM
#22
topuk avatar

topuk

New Zenner

Join Date:
Apr 2007
Posts:
4
Plugin Contributions:
0

Re: Downloadable Product

Thank you for the clear reply Ajeh and SO QUICKLY too... <bows head>

19 Jul 2007, 8:29 PM
#23
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: Downloadable Product

Glad it helped you out ...

There are a lot of threads on attributes plus information in the tutorials/FAQs and wiki on how to do all of this and more ... :smile:

3 Aug 2007, 5:54 AM
#24
ellivir avatar

ellivir

Zen Follower

Join Date:
Sep 2005
Posts:
444
Plugin Contributions:
0

Re: Downloadable Product

where is the product to be downloaded in "My account"? I can't see... I left the window open with checkout success and then changed the order as delivered and then reloaded the checkout success and I got the link visible but it can honestly work like that! Customers will not leave that window open and wait...

3 Aug 2007, 10:01 AM
#25
vwebworld avatar

vwebworld

New Zenner

Join Date:
Mar 2005
Location:
South coast of MA, USA
Posts:
72
Plugin Contributions:
0

Re: Downloadable Product

ellivir:

where is the product to be downloaded in "My account"? I can't see... I left the window open with checkout success and then changed the order as delivered and then reloaded the checkout success and I got the link visible but it can honestly work like that! Customers will not leave that window open and wait...

If the customer pays with a CC or other "instant payment" they will be taken to the checkout success with the download link showing....no waiting.

If the customer pays with a check... you'll have to change the status to delivered after you get the check... that will send them an email with a link to the download page.

~Roland

3 Aug 2007, 1:59 PM
#26
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: Downloadable Product

NOTE: The orders_status of the Payment Module determines the if the download is immediately available ...

You must set your Orders Status in the individual Payment Modules to work the way you want them to on downloads ...

If the download is not immediately available the customer can check their order in My Account and they will see the download is ready when you change the Orders Status in the Admin to match the settings in the Attributes Settings ...

The defaults are orders_status >= 2 (Processing) and orders_status <= 4 (Updated) ...

4 Aug 2007, 12:17 PM
#27
ellivir avatar

ellivir

Zen Follower

Join Date:
Sep 2005
Posts:
444
Plugin Contributions:
0

Re: Downloadable Product

In my test, I could see the download link in checkout success and there was written that you can also see that later in My Account. So, as a test I didn't download anything from the link of checkout success and went to see in My account but there was nothing. There was the order, I pushed the button "View" but there was no download link at all anywhere.

So to me it works only in checkout success if paid with a payment module that marks automatically it "delivered" (or "processing" may work as well). But after that the customer won't get any chance... (the email with the link to "My account" comes but no link there).

8 Aug 2007, 1:52 AM
#28
mdee avatar

mdee

New Zenner

Join Date:
Aug 2007
Posts:
16
Plugin Contributions:
0

Re: Downloadable Product

Hello

Ive been reading up on all your posts and everything worked well, thanks 4 the info, accept i didnt understand where to upload the file to

when i click on the download button it tells me it couldnt find the file

could it be that im using an .rar zip format instead of .zip

when i entered filename i put the ext. .rar

not shure if i uploaded to wrong folder or what

8 Aug 2007, 3:08 AM
#29
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: Downloadable Product

ellivir:

In my test, I could see the download link in checkout success and there was written that you can also see that later in My Account. So, as a test I didn't download anything from the link of checkout success and went to see in My account but there was nothing. There was the order, I pushed the button "View" but there was no download link at all anywhere.

So to me it works only in checkout success if paid with a payment module that marks automatically it "delivered" (or "processing" may work as well). But after that the customer won't get any chance... (the email with the link to "My account" comes but no link there).

Try switching to the Classic Template and see if it works properly ...

If you can see it on checkout_success you should also see it on account_history_info ...

Also do you see the Download Attribute name on the Order in the admin?

9 Aug 2007, 5:40 PM
#30
topuk avatar

topuk

New Zenner

Join Date:
Apr 2007
Posts:
4
Plugin Contributions:
0

Re: Downloadable Product

you can use any type of file but you should specify it in the media settings, you can then upload the file to the upload folder specified in your configure.php file usually store/upload

9 Aug 2007, 5:50 PM
#31
topuk avatar

topuk

New Zenner

Join Date:
Apr 2007
Posts:
4
Plugin Contributions:
0

Re: Downloadable Product

Topuk:

you can use any type of file but you should specify it in the media settings, you can then upload the file to the upload folder specified in your configure.php file usually store/upload

Sorry correction ... you put it in the DOWNLOAD folder... guess brain is not working well today

9 Nov 2007, 11:35 PM
#32
dedj avatar

dedj

Zen Follower

Join Date:
Jan 2007
Posts:
129
Plugin Contributions:
0

Re: Downloadable Product

Ajeh:

Downloads should NOT be marked as:

1 Always Free Shipping

2 Virtual Product

Downloads know that they are Downloads based on the filename on the attribute ...

checkout_shipping is skipped completely on a Download only order ...

  1. download works almost fine, this "product" is only for downloading.
    I have set it as free since its of no cost. but still when this product is for only download, I still get both shipping and payment checkout. what have I missed?

  2. about the download type, is there another type of download so they recieve it immediately and dont have to go and checkout?

  3. about the download files, that rights do they need to have? 755, 777 or 644?

thanks
Dejan

10 Nov 2007, 12:23 AM
#33
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
177

Re: Downloadable Product

dedj:

  1. about the download type, is there another type of download so they recieve it immediately and dont have to go and checkout?Not at the present time.
    dedj:

  2. about the download files, that rights do they need to have? 755, 777 or 644?The "download" folder can be the default 755.
    The files IN the "download" folder can be the default 644
    The "pub" folder needs to be writable ... ie: 777

10 Nov 2007, 12:30 AM
#34
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: Downloadable Product

Check again:

1 Product is NOT marked as Virtual

2 Product is NOT marked as Always Free Shipping

3 Product Attribute for the Download has a green dot next to the download filename

10 Nov 2007, 8:14 PM
#35
dedj avatar

dedj

Zen Follower

Join Date:
Jan 2007
Posts:
129
Plugin Contributions:
0

Re: Downloadable Product

DrByte:

Not at the present time.
The "download" folder can be the default 755.
The files IN the "download" folder can be the default 644
The "pub" folder needs to be writable ... ie: 777

oh ok, my pub folder was 755, will change it to 777, it still seems to work to download the file though. What is the actual reason pub folder needs to be 777 instead of 755?

thanks

10 Nov 2007, 8:19 PM
#36
dedj avatar

dedj

Zen Follower

Join Date:
Jan 2007
Posts:
129
Plugin Contributions:
0

Re: Downloadable Product

Ajeh:

Check again:

1 Product is NOT marked as Virtual

2 Product is NOT marked as Always Free Shipping

3 Product Attribute for the Download has a green dot next to the download filename

About my product:

1 Product is marked as free (no price)
2 Product is NOT virtual -> Shipping adress is required
3 Product is NOT free shipping -> Normal Shipping rules.

Still get shipping and payment, any ideas what I missed?

thanks alot!
Dejan

10 Nov 2007, 8:25 PM
#37
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: Downloadable Product

Make sure that in the Attributes Controller you see the download filename with a green dot on the attribute ...

Make sure when you add the product to the cart that you see the download in the shopping cart details ...

10 Nov 2007, 8:39 PM
#38
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
177

Re: Downloadable Product

dedj:

oh ok, my pub folder was 755, will change it to 777, it still seems to work to download the file though. What is the actual reason pub folder needs to be 777 instead of 755?The "pub" folder needs to be writable so that PHP can create the symlinks used for download-by-redirect.
777 is commonly used to make a folder writable.
Some servers can use 755 if their PHP mode is set for it.

11 Nov 2007, 9:44 PM
#39
dedj avatar

dedj

Zen Follower

Join Date:
Jan 2007
Posts:
129
Plugin Contributions:
0

Re: Downloadable Product

Ajeh:

Make sure that in the Attributes Controller you see the download filename with a green dot on the attribute ...

Make sure when you add the product to the cart that you see the download in the shopping cart details ...

works now, must have missed something when I tried yesterday or my eyes were too tired.
thanks
Dejan