Tips and Tricks HQ Support Portal › Forums › WP eStore Forum › Multiple Download errors
- This topic has 3 replies, 2 voices, and was last updated 13 years, 1 month ago by wzp.
-
AuthorPosts
-
October 12, 2011 at 7:40 am #4525hendricksonrwMember
Hi all,
I’ve tried really hard to figure this out on my own but my google-fu is wanting.
a) What part of the product isn’t working?
When users/me click on the download button for the product (it is a freebie, no checkout) they receive an error. This occurs only when I’m try to set up the product to have multiple downloadable items. When a product only has a single URL then everything works peachy.
“
Warning: Header may not contain more than a single header, new line detected. in /home/somethinguser/random.com/wp-content/plugins/wp-cart-for-digital-products/eStore_utility_functions.php on line 45
“
b) What are you trying to achieve?
Trying to create multiple product digital downloads.
c) What causes the error to show up?
Trying to download the file
d) What version of the plugin are you using?
Version v5.9.8
e) Provide a link to the exact page where the problem is seen
I can’t my customer wouldn’t be happy
f) Which product you are using (example: eStore, WP Affiliate Platform, eMember, PDF Stamper etc…)?
Wp eStore
g) Did you modify the plugin code?
yes/no I added an echo before the error occurred to see if the variable had an extra line, then deleted it, so the code is “vintage”
What settings I’m messing with…
1. WP eStore plugin Version v5.9.8
2. WP eStore -> Manage Products -> Pick a product -> Edit -> Digital Content Details
3. Digital Product URL
if the Digital Product URL looks like this, it fails
http://www.random.com/products/Good.pdf,http://www.random.com/products/Good.mp3
if it looks like this it works every time
http://www.random.com/products/Good.pdf
conversly
if Digital Product URL looks like this, it also fails
1,2
I’ve also tried it with the URL obsfucation and without and it fails in the same manner.
I’d really appreciate some help with this/pointers as I’ve been really impressed with eStore in general
Thanks so much!
Ross
October 12, 2011 at 12:30 pm #37521wzpModeratorBundled products do not work with the download now button, because the button assumes the product contains a single link. Bundled products generate separate links for each file. You have a few options here…
1. Offer a zip file containing the bundled files.
2. Use the squeeze form button, which will email the bundled product links to the user.
3. Setup an APR protected page, containg links to all of the files and then associate the protected page with the download now button…
http://www.tipsandtricks-hq.com/ecommerce/using-wordpress-permalinks-as-digital-products-apr-1217
October 12, 2011 at 7:00 pm #37522hendricksonrwMemberwzp,
Thanks for posting an answer. But I must admit that this is very confusing as the instructions on the actual product add/edit page say
“Enter the product IDs separated by comma (eg. 3,8,18) if making a bundled product. Enter the file URLs separated by comma if the product has multiple files.”
If multiple products are not supported using the download now are they supported if I have them check out through the shopping cart? I’m assuming so since they are e-mailed after they check out/pay the download links that will still work.
Also, I tried the squeeze page and it failed to e-mail me anything. All it did after I clicked on the download now button was go to a different page that said “Not Found
Sorry,but you are looking for something that isn’t here.”
I got the APR protected page working with generated download URLS (manually created through the Admin part of the WP eStore plugin). But i was hoping that I would not have to do that.
In the end I think we’ll just have to go with a single zipped file for our freebies as e-mailing links or directing people to download a file from links that don’t expire (unless I manually go through and remove them via the admin) isn’t ideal. That said I would still like to get the squeeze form working if anyone has pointers on that. I like being able to track specific people downloading the freebies, or at least e-mail addresses. Never mind, it doesn’t appear to save the e-mails at all.
Thanks again for the pointers, learned about ARPs and squeeze forms .
Ross
October 12, 2011 at 8:44 pm #37523wzpModeratorDownload Now buttons only support single file downloads; no bundled products and no variations.
Squeeze page forms support bundled products, but not variations.
Carts support everything.
For the squeeze form, try enabling the debug logs, do a test, and then check the squeeze_form_debug.log file.
-
AuthorPosts
- You must be logged in to reply to this topic.