Support » Plugin: WooCommerce Bulk Discount » Stopped working

  • Unfortunately, I can’t pinpoint when, but some time in the last couple of months, the plugin stopped working. I just went in to create a new product and discovered the bulk discount options are not available any more. There are no options for individual products, and no Bulk Discount tab in WC settings.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter swinggraphics

    (@swinggraphics)

    The plugin uses this code to check if WooCommerce is active:

    if ( !in_array( 'woocommerce/woocommerce.php', apply_filters( 'active_plugins', get_option( 'active_plugins' ) ) ) ) return; // Check if WooCommerce is active

    Unfortunately, this fails if WC is network active. My solution is to remove this check on line 30.

    • This reply was modified 3 years, 10 months ago by swinggraphics.
    Plugin Author renp

    (@rene-puchinger)

    Thank you for reporting this. The code you mention comes from the official WooCommerce documentation ( https://docs.woocommerce.com/document/create-a-plugin/ ).
    I’ll debug the issue on a multisite and check what can be done. In the meantime, I’d stick with this workaround you suggest.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Stopped working’ is closed to new replies.