Woocommerce Product Bundles - not able to download

Posted by: Hinemoa Robb

11th February 2021, 2:44 am

Hinemoa Robb

@admin@topteachingtasks.com

11 Feb 2021
2:44 am

We have an existing website that has many bundled products for sale.  We have copied this to a new members only where all products are free with download buttons in place for members.  This works great with our standalone products, however, we have struck an issue with our Bundled Products (using Woocommerce Product Bundles).  We get this error.

This product is currently unavailable. Please make sure that all products contained in this bundle have a price. WooCommerce does not allow products with a blank price to be purchased. Note: This message is visible to store managers only.

Can you suggest how we might make this work?

Thanks

  • Developer
    Richard Webster

    @rwebster

    11 Feb 2021
    2:06 pm

    Hi Hinemoa, is that restriction present with product bundles without my plugin being active?

  • Hinemoa Robb

    @admin@topteachingtasks.com

    15 Feb 2021
    12:54 am

    No... when I deactivate your plugin, I can add the bundle to the cart at a price of $0.00

    The error only shows when your plugin is activated

  • Developer
    Richard Webster

    @rwebster

    15 Feb 2021
    8:06 am

    By default free downloads have purchase prevented, you could try removing that behaviour by adding a custom code snippet to your site.

    remove_filter('woocommerce_is_purchasable', 'somdn_prevent_purchase', 10, 2);

    Last modified: 15th February 2021, 8:06 am by Richard Webster

  • Hinemoa Robb

    @admin@topteachingtasks.com

    15 Feb 2021
    6:50 pm

    Hi Richard - thank you, this allows "Add to Cart" - but we are deactivating cart/checkout on this membership website, and wish everything to be a free download (showing "Download") using your plugin.  Is this possible?

    Thanks

  • Developer
    Richard Webster

    @rwebster

    18 Feb 2021
    2:43 pm

    One of the settings on the general settings page is to disable all e-commerce functionality. That prevents any products being purchased though.