Tagged: x
-
AuthorPosts
-
January 12, 2017 at 3:23 pm #1327763
bp4youParticipantCompletely fresh install (deleted tables as well) did not help. I’m going to check with my hosting company to see if their server might be blocking the download link, and then if necessary I’ll try and get support from WooCommerce directly. Thanks for your help.
January 12, 2017 at 8:51 pm #1328187
RadModeratorYou’re welcome, I’ll see if I can find some workaround too, a bit of research π
January 20, 2017 at 3:44 am #1338133
bp4youParticipantSomeone over at the WP/WooCommerce forums helped me out big time with this.
He said there was some issues with the beta core code. The WooCommerce beta is what’s available for download in X’s Add-ons section. So that’s what I used.
Basically, this is what was going on:
– The get_item_downloads() function was pulling IDβs, but when it pulled the files to check the downloads it went off DOWNLOAD_IDS, huge difference, so it was saying no downloads were available for the order
– When passing the downloadable files back to the templates, email and where ever else – it WAS sending it as an Object with missing data. So had to convert the WC_Product_Download object into temp object and create a new array to send back filled with the WC_Product_Download->get_file() and similar functions
Not sure if anyone else had this issue if downloading the latest beta, but just in case.
January 20, 2017 at 1:29 pm #1338761
RadModeratorHi there,
I see, thanks for sharing! This will be helpful. Noted this π
Cheers!
March 2, 2017 at 5:34 pm #1392558
conorseedParticipantHey bp4you,
Would you be willing to share the code you wrote, and where you put it? I can’t quite get my head around what you described below, so would appreciate the fix!
Basically, this is what was going on:
β The get_item_downloads() function was pulling IDβs, but when it pulled the files to check the downloads it went off DOWNLOAD_IDS, huge difference, so it was saying no downloads were available for the order
β When passing the downloadable files back to the templates, email and where ever else β it WAS sending it as an Object with missing data. So had to convert the WC_Product_Download object into temp object and create a new array to send back filled with the WC_Product_Download->get_file() and similar functions
March 3, 2017 at 1:23 pm #1393664
RadModeratorHi there,
You can re-install your Woocommerce for now, and install the version 2.6.9 instead of the beta version. You may go to Admin > Plugins and install it instead of installing it from the addons page.
Thanks!
March 3, 2017 at 5:29 pm #1393857
conorseedParticipantThanks Rad π
That did the trick! No issues now.
March 4, 2017 at 2:45 am #1394229
Rue NelModeratorYouβre welcome!
Thanks for letting us know that it has worked for you. -
AuthorPosts
- <script> jQuery(function($){ $("#no-reply-1321689 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>
