If this is your first visit, check our documentation. To post, register or login.
Forums / Setting Up Categories, Products, Attributes / Driving me nuts... How to set up downloadable products?

Driving me nuts... How to set up downloadable products?

Started by jmberman on 31 May 2017, 2:11 PM · Views: 1,315

Results 1 to 9 of 9
31 May 2017, 2:11 PM
#1
jmberman avatar

jmberman

Zen Follower

Join Date:
May 2016
Location:
Ohio
Posts:
422
Plugin Contributions:
0

Driving me nuts... How to set up downloadable products?

I've read through so many posts on this but I can't do it...

In Option Values I created:

Download
Zip File

Option Names:

Download
Dropdown

Attribute Controller:

NOTE: Downloads are disabled

I choose the product, I choose: Download > Zipfile

I see no place to put in the filename or enable downloads
Download Manager page is blank

31 May 2017, 2:17 PM
#2
mc12345678 avatar

mc12345678

Totally Zenned

Join Date:
Jul 2012
Posts:
16,908
Plugin Contributions:
2

Re: Driving me nuts... How to set up downloadable products?

admin->configuration->attribute settings
enable Downloads

Might that help?

ZC Installation/Maintenance Support <- Site
Contribution for contributions welcome...

31 May 2017, 2:25 PM
#3
jmberman avatar

jmberman

Zen Follower

Join Date:
May 2016
Location:
Ohio
Posts:
422
Plugin Contributions:
0

Re: Driving me nuts... How to set up downloadable products?

Feels like getting closer.
I was then able to add the file url, set the price to 0,
and upon checkout I see this:

NOTE: Downloads are not available until payment has been confirmed

31 May 2017, 2:28 PM
#4
jmberman avatar

jmberman

Zen Follower

Join Date:
May 2016
Location:
Ohio
Posts:
422
Plugin Contributions:
0

Re: Driving me nuts... How to set up downloadable products?

Under download manager the file is red for missing filename, but I chose mystore/download/test.zip
which I set to 777

31 May 2017, 2:52 PM
#5
jmberman avatar

jmberman

Zen Follower

Join Date:
May 2016
Location:
Ohio
Posts:
422
Plugin Contributions:
0

Re: Driving me nuts... How to set up downloadable products?

Good news, I changed the filename to just the filename and not the full file location and it went green
Now comes the final test I hope!

31 May 2017, 2:53 PM
#6
jmberman avatar

jmberman

Zen Follower

Join Date:
May 2016
Location:
Ohio
Posts:
422
Plugin Contributions:
0

Re: Driving me nuts... How to set up downloadable products?

Hmmm.. because I'm testing I set the price to FREE, but upon checkout I still get:

NOTE: Downloads are not available until payment has been confirmed

31 May 2017, 2:59 PM
#7
mc12345678 avatar

mc12345678

Totally Zenned

Join Date:
Jul 2012
Posts:
16,908
Plugin Contributions:
2

Re: Driving me nuts... How to set up downloadable products?

jmberman:

Feels like getting closer.
I was then able to add the file url, set the price to 0,
and upon checkout I see this:

NOTE: Downloads are not available until payment has been confirmed

At moment not sure if this response is directly related to the other message about the red dot or not, but one step at a time.

The message is typically a direct result of the order status after "payment".

If for example the payment method was with check/money order, you wouldn't want to give away a paid for item without having received money, but in your case you have said that the price was 0 (free) which means that likely used the freecharger payment module. The set order status value for that needs to be at or between the admin->configuration->attribute settings values for

Downloads Controller Order Status Value >= lower value 2
Downloads Controller Order Status Value <= upper value 4

But, then there is the issue of the file not existing which I have not attempted to see what message would be displayed, although the above might seem appropriate.

So, now regarding that portion, typically a file would not be set to 777 but instead 644, the folder might be 777 or 755 depending on your server arrangement, and then, you may need to also modify includes/modules/pages/download/header_php changing 0777 to 0755 if you are using Download by Redirect (another setting in admin->configuration->attribute settings)

As to the path, you should only have to identify the filename if the file was stored in the folder "mystore/download".

Now, another thing though... You should also try to remotely access that file by using your browser and see if it would start to download. There are actions that can be taken to prevent that possibility if it does work/occur and there are FAQs related to that aspect. The general ZC recommendation is to move the folder out of the webfacing structure so that it is only accessible by the directory structure not the internet. I tend to place the file(s) in a separate folder apply a modified .htaccess that prevents access of the files from outside but still lets them be accessed internally. Probably both would be better, but it depends on how you plan on serving your downloads...

ZC Installation/Maintenance Support <- Site
Contribution for contributions welcome...

31 May 2017, 3:07 PM
#8
jmberman avatar

jmberman

Zen Follower

Join Date:
May 2016
Location:
Ohio
Posts:
422
Plugin Contributions:
0

Re: Driving me nuts... How to set up downloadable products?

I set the freecharger options and it worked!

31 May 2017, 3:38 PM
#9
mc12345678 avatar

mc12345678

Totally Zenned

Join Date:
Jul 2012
Posts:
16,908
Plugin Contributions:
2

Re: Driving me nuts... How to set up downloadable products?

jmberman:

I set the freecharger options and it worked!

Congrats!

While I don't see a direct reference to enabling downloads in the below FAQ, it does suggest to review the settings of the attribute settings area, which though first in the list should have helped.

The FAQ that appears to most fully cover the topic (including spin off to other FAQs) is: https://www.zen-cart.com/content.php?113-how-do-i-make-products-downloadable

Some of the other things discussed above are covered elsewhere such as:
https://www.zen-cart.com/content.php?82-why-arent-my-downloads-activating-after-checkout
https://www.zen-cart.com/content.php?297-can-i-have-products-be-both-physical-shippable-and-virtual-downloadable
https://www.zen-cart.com/content.php?264-download-delivery-methods-explained
https://www.zen-cart.com/content.php?159-how-do-i-secure-my-downloads-folder-to-prevent-theft
etc...

ZC Installation/Maintenance Support <- Site
Contribution for contributions welcome...