Navigation
This is archived content. Visit our new forum.

Tagged: 

  • Author
    Posts
  • #1327763
    bp4you
    Participant

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

    #1328187
    Rad
    Moderator

    You’re welcome, I’ll see if I can find some workaround too, a bit of research πŸ™‚

    #1338133
    bp4you
    Participant

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

    #1338761
    Rad
    Moderator

    Hi there,

    I see, thanks for sharing! This will be helpful. Noted this πŸ™‚

    Cheers!

    #1392558
    conorseed
    Participant

    Hey 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

    #1393664
    Rad
    Moderator

    Hi 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!

    #1393857
    conorseed
    Participant

    Thanks Rad πŸ™‚

    That did the trick! No issues now.

    #1394229
    Rue Nel
    Moderator

    You’re welcome!
    Thanks for letting us know that it has worked for you.

  • <script> jQuery(function($){ $("#no-reply-1321689 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>