If this is your first visit, check our documentation. To post, register or login.
Forums / General Questions / General Questions / Downloads not working properly, out of stock, Nope!

Downloads not working properly, out of stock, Nope!

Locked

Started by southernlady on 14 Dec 2008, 12:58 AM · Views: 3,367

Results 1 to 20 of 27
This thread is locked. New replies are disabled.
14 Dec 2008, 12:58 AM
#1
southernlady avatar

southernlady

Zen Follower

Join Date:
Mar 2005
Location:
TN
Posts:
116
Plugin Contributions:
0

Post #1 by southernlady

I have searched, scoured, read almost 50 pages worth of threads looking for this and still can't find this exact issue. I've come close, tried every trick I've seen but nothing has cleared it up.

I'm putting together a store that will have no REAL stock, it's all virtual. So I will never truly be "out of stock" but I also carry NO stock except for the one item I upload for others to download copies.

It's a digital scrapbooking/paint shop pro site. I will be selling and giving away the items that digital scrappers and paint shop pro users need in their creations. But everything they need will be downloadable.

I managed to get the store tweaked as far as set up, layout, templates, but the attributes/catagories/products has me wracking my brain. The first time I uploaded it, I did so with the demo store installed and could not get any of the categories or products to accept name changes, etc. So I uninstalled it and reinstalled a clean copy on the same database but scrubbed, without the demo. (I mean scrubbed as I went into myphpadmin and dropped all the files of that database)

My download file size is not an issue as we use a VPS and have complete control over the entire thing. We use cpanel with WHM and I have access to the entire thing. In fact, I know I can download very large files from that server because one file I have on there exceeds 113,000 KB and it's successfully downloaded. The files I am trying to have downloaded under the download section of ZenCart range in size from 1 to 17KB.

I'm working on the free scrap kits right now. I have the loaded and showing, What I can not seem to do is get the zip files to activate under the individual kits. They are there but even if logged in (and I have one customer, me, in an alternative ego) I can not get the files to show active: the pointer to turn into a hand when it's over an active link. My attributes controller tell me it's a valid link. There isn't any spaces in the file name (I'm use to working on apache).

Next problem and it may be related...all the files in that section show out of stock even tho I have done everything I can locate to make them free. There will be no shipping involved at the store since everything will be downloaded from the store.

The store is located here: http://www.gblcreations.com/store/

I know I've probably left out info but until I get some feedback I won't know what I am missing in this equation.

Liz

14 Dec 2008, 5:18 AM
#2
misty avatar

misty

Inactive

Join Date:
Apr 2004
Location:
UK
Posts:
5,752
Plugin Contributions:
1

Post #2 by misty

You have set products as having 0(zero) stock..even
though downloadable products, and unlimited supply,
you must enter stock figure i.e 100..then via admin,
you can hide how many you actually have...

Dezina ZenCart Templates
Please do not PM for support queries..Post in forums..help others

14 Dec 2008, 10:07 PM
#3
southernlady avatar

southernlady

Zen Follower

Join Date:
Mar 2005
Location:
TN
Posts:
116
Plugin Contributions:
0

Post #3 by southernlady

Thank you, Misty, that fixed this issue:

Next problem and it may be related...all the files in that section show out of stock even tho I have done everything I can locate to make them free. There will be no shipping involved at the store since everything will be downloaded from the store.

However, I still have issues with my downloads not working.

I have verified that the permissions on the zip files and folders involved are indeed 777. Since I use winscp as my ftp, I'm pretty confident in my ftp.

I know the downloads on my site work. They work on the html side of the house. (I have two sections to my site) The html side has been up and running for a couple of months now and they downloads are working just fine. Same zip files, but since it's for the store, it had to be a new location. And it just baffles me that I can't find the problem.

Liz

15 Dec 2008, 5:32 AM
#4
misty avatar

misty

Inactive

Join Date:
Apr 2004
Location:
UK
Posts:
5,752
Plugin Contributions:
1

Post #4 by misty

Are zip files in correct zen cart folder as per your config file?
Do you have green lights showing in download manager?
Are zip files named correctly without hypens and spaces?

Dezina ZenCart Templates
Please do not PM for support queries..Post in forums..help others

16 Dec 2008, 4:31 AM
#5
southernlady avatar

southernlady

Zen Follower

Join Date:
Mar 2005
Location:
TN
Posts:
116
Plugin Contributions:
0

Post #5 by southernlady

Are zip files in correct zen cart folder as per your config file?
Yes, however I did see a thread on here that said we could have subfolders in the download folder as long as we kept the structure correct. Since ALL my product line will be going in the downloads folder it will be easier for me to manage using subfolders.

Do you have green lights showing in download manager? Yes, I do. I'm including a screenshot of one of the files in question. Maybe seeing it will help.

Are zip files named correctly without hypens and spaces?

No hyphens, no spaces. I KNOW better than to have spaces...my ftp wouldn't load them if I did. I use winscp.

Liz

16 Dec 2008, 5:27 AM
#6
misty avatar

misty

Inactive

Join Date:
Apr 2004
Location:
UK
Posts:
5,752
Plugin Contributions:
1

Post #6 by misty

Have you activated ZenCart Free Charge in payments
section?

Dezina ZenCart Templates
Please do not PM for support queries..Post in forums..help others

23 Dec 2008, 6:25 AM
#7
southernlady avatar

southernlady

Zen Follower

Join Date:
Mar 2005
Location:
TN
Posts:
116
Plugin Contributions:
0

Post #7 by southernlady

Have you activated ZenCart Free Charge in payments
section?

Misty, sorry, it's been crazy getting ready for the holidays around here.

I searched for what you were referring to and yes, it is now activated.

Then I checked again, they are still not working.

Next idea? Liz

23 Dec 2008, 6:31 AM
#8
misty avatar

misty

Inactive

Join Date:
Apr 2004
Location:
UK
Posts:
5,752
Plugin Contributions:
1

Post #8 by misty

No more ideas, but if you send me pm, can go from there..

Dezina ZenCart Templates
Please do not PM for support queries..Post in forums..help others

23 Dec 2008, 2:02 PM
#9
drbyte avatar

drbyte

Sensei

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

Post #9 by drbyte

southernlady:

however I did see a thread on here that said we could have subfolders in the download folder as long as we kept the structure correct.
Unless you're writing custom code to make that work, that thread is apparently giving bad advice.

.
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 Dec 2008, 9:10 PM
#10
southernlady avatar

southernlady

Zen Follower

Join Date:
Mar 2005
Location:
TN
Posts:
116
Plugin Contributions:
0

Post #10 by southernlady

Unless you're writing custom code to make that work, that thread is apparently giving bad advice.

Just to be sure, I changed it and had it in the regular download folder not in the subfolder. Still not working so that is not the problem.

Whether the path in the download folder is:
/FreeScrapkits/GraphicsByLizBearyFriendsElements.zip or
/GraphicsByLizBearyFriendsElements.zip
BOTH show as valid file names and neither one work.

Important Facts about Download Settings

  1. Downloads are NOT Virtual Products so use:
    Product is Virtual: No, Shipping Address Required
  2. Downloads are NOT Always Free Shipping so use:
    Always Free Shipping: No, Normal Shipping Rules
  3. Downloads in an order by itself will never see the checkout_shipping page ... if you do then your Product is setup wrong for Downloads
  4. If not on a Windows server, meaning Linux/Unix, /pub should be 777 and Redirect should be ON
    If you cannot use Redirect ON, ask your hosting site why they cannot follow the symbolic link between the /download and /pub directories
  5. If on a Windows server, /pub does NOT need to be writable/777 as you do not use this directory; and Redirect is OFF as you cannot use Redirect
  6. Download filenames should not use special characters, spaces and the like
  7. Download files should be Zipped for best results and browser compatibility
  8. Download files should be loaded to the /download directory
  9. On the Admin->Catalog->Attributes Controller you should see a green dot next to the filename of the Download itself

Going down this list I found:

  1. Not sure where to fix that
  2. Not sure where to fix that
  3. Not sure where to fix that
  4. /pub is 777
  5. Does not apply, using a linux server
  6. No underscore or spaces in file names
  7. Used Winrar in ZIP mode to zip the files
  8. Files are in the download directory
  9. I see the green dot whether I had them in the download folder or in a subfolder inside the download folder.

The first three may be where my problem is. Liz

24 Dec 2008, 9:18 PM
#11
drbyte avatar

drbyte

Sensei

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

Post #11 by drbyte

#3 is related to #1 and #2, which are in Admin->Catalog->Categories/Products->find-and-click-your-product-to-edit-its-settings

.
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 Dec 2008, 9:19 PM
#12
ajeh avatar

ajeh

Oba-san

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

Post #12 by ajeh

Should I be seeing an Add to Cart button on your site once I create an account ... :unsure:

The Login info disappeared ... but now I cannot Add to Cart as there isn't a button there ...

Next, you have something coming from Classic template and some things from the Template Default ... :eek:

I am wondering if your template isn't goobered up on your site ...

Linda McGrath
If you have to think ... you haven't been zenned ...

**Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!**

Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here

Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!

24 Dec 2008, 10:04 PM
#13
drbyte avatar

drbyte

Sensei

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

Post #13 by drbyte

southernlady:

I'm working on the free scrap kits right now. I have the loaded and showing, What I can not seem to do is get the zip files to activate under the individual kits. They are there but even if logged in (and I have one customer, me, in an alternative ego) I can not get the files to show active: the pointer to turn into a hand when it's over an active link. My attributes controller tell me it's a valid link. There isn't any spaces in the file name (I'm use to working on apache).
What exactly do you mean by "I can not get the files to show active"?

.
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 Dec 2008, 10:08 PM
#14
southernlady avatar

southernlady

Zen Follower

Join Date:
Mar 2005
Location:
TN
Posts:
116
Plugin Contributions:
0

Post #14 by southernlady

  1. Downloads are NOT Virtual Products so use:
    Product is Virtual: No, Shipping Address Required
  2. Downloads are NOT Always Free Shipping so use:
    Always Free Shipping: No, Normal Shipping Rules
  3. Downloads in an order by itself will never see the checkout_shipping page ... if you do then your Product is setup wrong for Downloads

I fixed these and it still isn't showing.

What do you mean by "I can not get the files to show active"?

You know how if you hold your mouse over an active link it will change into a hand? Mine does not on the downloads.

Next, you have something coming from Classic template and some things from the Template Default ...

I am wondering if your template isn't goobered up on your site ...
I've wondered how that how could have happened. I don't have any other template installed.

I did change some css due to changing the background. That was so I could READ the text once I changed the background. And I changed the header, obviously.

I can change it back to the default completely to see if we can fix the downloads and then work on the template later.

Liz

24 Dec 2008, 10:35 PM
#15
southernlady avatar

southernlady

Zen Follower

Join Date:
Mar 2005
Location:
TN
Posts:
116
Plugin Contributions:
0

Post #15 by southernlady

I've wondered how that how could have happened. I don't have any other template installed.

I did change some css due to changing the background. That was so I could READ the text once I changed the background. And I changed the header, obviously.

I can change it back to the default completely to see if we can fix the downloads and then work on the template later.

Okay, I have reloaded both the classic and default template folders inside the includes folders with the original install of zen cart. I still do not see an Add to Cart button.

Could it be in a setting somewhere? Liz

24 Dec 2008, 10:42 PM
#16
drbyte avatar

drbyte

Sensei

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

Post #16 by drbyte

In addition to my earlier unanswered question:> DrByte:

What exactly do you mean by "I can not get the files to show active"?
... I have another:

What exactly is working as expected, and what is not ?

.
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 Dec 2008, 11:14 PM
#17
southernlady avatar

southernlady

Zen Follower

Join Date:
Mar 2005
Location:
TN
Posts:
116
Plugin Contributions:
0

Post #17 by southernlady

I have another:

What exactly is working as expected, and what is not ?

"Working as expected" would be for someone who is logged in to be able to place their curser over the image that is the download link and it turn into a hand so that they can download it after having "purchased it". Since the item is free, there is no price involved, and apparently no way to add to the cart to check out as a ZERO purchase.

It is not working in that there is NO way to add it to a cart or download it right now.

In other words, it's FUBAR'ED. Liz

24 Dec 2008, 11:43 PM
#18
drbyte avatar

drbyte

Sensei

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

Post #18 by drbyte

southernlady:

Since the item is free, there is no price involved, and apparently no way to add to the cart to check out as a ZERO purchase.Um ... if the item is free, one can still add it to their cart in order to purchase it. Just because its price is zero doesn't mean it can't be purchased. The only exceptions to that would be:

  • product is marked as "call for price"
  • store is set to must-be-logged-in-to-purchase, and they're not logged in
  • the product was created as something other than 'product-general', and instead was created as a product-type whose settings prevent add-to-cart operation.

So, when you say they can't add it to their cart, what are they seeing? Are they getting an add-to-cart button, but that button just doesn't work? Or are they getting some other text in the place of the normal button?

You seem to be fixated on the idea that "since it's free" there's somehow a problem. Why is that? Are you saying that if you add a price to this product somehow it works suddenly?

southernlady:

"Working as expected" would be for someone who is logged in to be able to place their curser over the image that is the download link and it turn into a hand so that they can download it after having "purchased it"."the image that is the download link". Hmmm ... the "download" button only appears if there's something to download.
Are you saying that the download button "appears", but clicking simply does nothing?
Does this happen only with a particular product? or with all?
Does this happen only on certain files? ie: if you have more than one file per product, does this happen to all, or just some?
What is the code for that download button when you look at it via the browser's "View Source" screen?

When did this start happening?
Has it ever worked properly?
What's different in your site since it did work, if ever?

Can you provide a screen-shot of the My Account page where the order's download-buttons appear? And another of that same order's details from the admin side?

.
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.

25 Dec 2008, 4:03 AM
#19
ajeh avatar

ajeh

Oba-san

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

Post #19 by ajeh

Could you go to the Catalog ... Product Types ... Edit ... and make sure that the ADD TO CART is set to YES by editing the Product Type and make sure the box is checked for:
This Product can be added to cart: (check box here)

Linda McGrath
If you have to think ... you haven't been zenned ...

**Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!**

Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here

Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!

25 Dec 2008, 1:34 PM
#20
southernlady avatar

southernlady

Zen Follower

Join Date:
Mar 2005
Location:
TN
Posts:
116
Plugin Contributions:
0

Post #20 by southernlady

Could you go to the Catalog ... Product Types ... Edit ... and make sure that the ADD TO CART is set to YES by editing the Product Type and make sure the box is checked for:
This Product can be added to cart: (check box here)

Attached is a screen shot of the General Products which is the category I have the scrap kits located in.

As you can see, it's set to yes...it's been set to yes. Not sure why it's not showing.

Um ... if the item is free, one can still add it to their cart in order to purchase it. Just because its price is zero doesn't mean it can't be purchased. The only exceptions to that would be:

  • product is marked as "call for price"
  • store is set to must-be-logged-in-to-purchase, and they're not logged in
  • the product was created as something other than 'product-general', and instead was created as a product-type whose settings prevent add-to-cart operation.
    Yes, they have to be logged in which is why I have an alternate ID so I CAN log in as myself to see what a customer would see.

All products are marked as "General".

So, when you say they can't add it to their cart, what are they seeing?
All they are seeing is the product, the zip file but no cart and no way to download the file or add to cart.
Are they getting an add-to-cart button, but that button just doesn't work?
No, the add to cart button is also MIA
Or are they getting some other text in the place of the normal button?
No, no text in place of the button either.

You seem to be fixated on the idea that "since it's free" there's somehow a problem. Why is that? Are you saying that if you add a price to this product somehow it works suddenly?

The only products I have added as of now are the free ones. If I can't get them to work, why bother with all the rest.

"the image that is the download link". Hmmm ... the "download" button only appears if there's something to download.
Are you saying that the download button "appears", but clicking simply does nothing?
Does this happen only with a particular product? or with all?
Does this happen only on certain files? ie: if you have more than one file per product, does this happen to all, or just some?
What is the code for that download button when you look at it via the browser's "View Source" screen?

Yes, I know the download button will appear if there is something to download but according to the attributes controller, the link is valid.

I only have 10 files uploaded at the moment because if these can't be made to work, no reason to load all the rest.

I have 2 files per product due to the size of the files and the set up of the files.

My store is located at http://www.gblcreations.com/store

Now, I am attaching a screen shot of one of mine and one of one that I know works because I am a member of her forum.

Liz