• Resolved msamavi

    (@msamavi)


    Hello,

    Thank you for the useful plugin!

    I would like the multiple downloadable items of products to be displayed grouped by the product titles, like following:

    + Product one title
    Download file 1
    Download file 2
    Doenload file 3
    + Product two title
    Download file 1
    Download file 2
    + Product three title
    Download file 1
    Download file 2
    Doenload file 3
    etc.

    I would appreciate any help to do that.

Viewing 7 replies - 1 through 7 (of 7 total)
  • Thread Starter msamavi

    (@msamavi)

    By the way, it seems the plugin is not compatible with Woocommerce Subscriptions (which permits the customer to download files added to the product after the purchase).
    Can you confirm please?

    Plugin Contributor emoxie

    (@emoxie)

    I just tried myself and do not see any issues with a compatibility issue with WooSubscriptions. Can you show me exactly what it is or is not doing for you?

    Thread Starter msamavi

    (@msamavi)

    Thank you for getting back to me.
    Regarding compatibility with WooSybscriptions, your plugin displays only one downloadable file even where multiple files are being offered by a simple subscription product.

    Can you please advise on the first part of my question? (Grouping multiple files per product)

    Plugin Author Matt Pramschufer

    (@mattpramschufer)

    @msamavi so let me answer your questions.

    1.) The plugin does not group downloads together like that. It outputs all downloads per order into an unordered list. The only thing I can see that you could do is output the Product name before the file name. To do that you could add the following into your functions.php or using the Code Snippets plugin

    add_action('woocommerce_available_download_start', 'add_product_heading');
    function add_product_heading($download){
        echo '<strong>' . $download['product_name'] . '</strong>';
    }

    2.) About the WooSubscriptions item. If your subscription unlocks multiple downloads and if you ADD more after the user has purchased, you need to regenerate their download permissions. This is just how WooCommerce works, nothing to do with this plugin. I am curious though, have you seen https://docs.woocommerce.com/document/woocommerce-subscription-downloads/

    I hope that helps!

    Thread Starter msamavi

    (@msamavi)

    @mattpramschufer Thanks very much for your prompt kind reply.

    Just regarding WooCommerce Subscriptions:
    When you define a simple subscription type product, all new downloadable files will automatically be permitted to be downloaded by all customers who already purchased that product. This is a major feature of Woocommerce Subscription over Woocomerce simple product type. Of course, you can disable this default feature in Woocommerce Subscription Settings; (the option is called ‘Drip Downloadable Content’; By default, access to new downloadable files added to a product is granted immediately to any customer that has an active subscription with that product.)

    Any comment would be appreciated.

    Plugin Author Matt Pramschufer

    (@mattpramschufer)

    @msamavi I was unaware of that then. They must be utilizing their own functions outside of the Core WooCommerce functions to determine if they have download access. In that case, it appears that you are correct then, which this plugin does not integrate with WooSubscriptions downloads. I’ll make a note in the plugin description on next release.

    Thanks!

    Thread Starter msamavi

    (@msamavi)

    @mattpramschufer
    I will eagerly be waiting to find the compatibility within your useful plugin then.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Grouped downloadable items’ is closed to new replies.