No download link or button after update to 1.5.7b
I've run a Zen Cart site since 2010, with little or no problems. I sell 95% digital products, with a very few physical items.
Unfortunately, my web server just updated PHP, and my ZC installation died so I had to update to the latest release.
Everything is done, tested, and working, except when someone purchases a digital product, there is no way for them to download it. The order is approved, they get an email, and the order shows up in their history, but there's no download link and no button. I've tried:
- Verified the Downloads are configured correctly
- Verified the files exist (all have green lights beside them in the Download Manager)
- Confirmed both Configuration.php files are correct
I also found a "missing download button" issue in the list of known bugs, and attempted to patch the code with what was in GitHub, but I'm not a developer and have no idea if I did it right (the site is still working otherwise, though, so I assume I didn't break anything).
Has anyone else had this issue? Do you have any recommendations on what else to try?
Re: No download link or button after update to 1.5.7b
Not knowing what version you came from, things might be different. Have you looked at https://docs.zen-cart.com/user/produ...ivery_methods/
Re: No download link or button after update to 1.5.7b
Is the order status compatible with download? (i.e. between the lower and upper values specified in Admin > Configuration > Attribute Settings)
Re: No download link or button after update to 1.5.7b
Quote:
Originally Posted by
swguy
Is the order status compatible with download? (i.e. between the lower and upper values specified in Admin > Configuration > Attribute Settings)
I think this may be part of the solution. I left the default values in place, but when I tried to confirm that my payment module sets them, I found that Stripe is not showing up under Modules > Payment. Stripe is installed, and I have tested it with live transactions (charged my card for $1 using a coupon code), but the payment module isn't showing up in the admin console so I can't confirm if it's setting the order status correctly.
THAT SAID, when I look at the order history, they all show "Delivered." I tried changing it to "Processing" (which should also enable downloads), but still no button or link. In Admin > Configuration > Attribute Settings, the Lower value is 2 and the Upper value is 4.
Re: No download link or button after update to 1.5.7b
EDIT:
I fixed the issue that was causing Stripe not to show up in the admin section (there were some old Authorizenet and Linkpoint files that were throwing errors and causing the page to stop rendering). But Stripe is setting the order status to "Delivered" (3), so it falls in the proper values for downloading. Any other ideas?
Re: No download link or button after update to 1.5.7b
Quote:
Originally Posted by
dbltoe
Thanks! Yes, I looked at that. And I think I came from version 1.5.3 (a very, very old version). I think I have my delivery methods set correctly, though.
Re: No download link or button after update to 1.5.7b
Go to Admin > Catalog > Downloads Manager.
Are the icons for each of the files you are trying to download green?
Re: No download link or button after update to 1.5.7b
Quote:
Originally Posted by
swguy
Go to Admin > Catalog > Downloads Manager.
Are the icons for each of the files you are trying to download green?
Yes. All of files are there and green.
Re: No download link or button after update to 1.5.7b
If you have
includes/templates/YOURTEMPLATE/templates/tpl_modules_downloads.php
remove it so that you are using the base version of this file.
There was a change in 1.5.6 that your template won't be aware of if it hasn't been updated.
https://docs.zen-cart.com/user/upgra...onsiderations/
Re: No download link or button after update to 1.5.7b
Quote:
Originally Posted by
swguy
If you have
includes/templates/YOURTEMPLATE/templates/tpl_modules_downloads.php
remove it so that you are using the base version of this file.
There was a change in 1.5.6 that your template won't be aware of if it hasn't been updated.
https://docs.zen-cart.com/user/upgra...onsiderations/
No luck... I don't have that file in that path.
I thought that seemed like a really good direction, so I even tried changing my template since my template is older. There's still no option to download, even if I change to the "Responsive Classic Template" included with the distribution.