• The following code is used to check wether WooCommerce is activated:

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

    But, that doesn’t get any Network installed plugins. In my case WooCommerce is installed at Network Level and working perfectly, but the plugin doesn’t show up until I change that line of code into (as stated in this post):

    if ( !array_key_exists( 'woocommerce/woocommerce.php', maybe_unserialize( get_site_option( 'active_sitewide_plugins') ) ) ) { return; }

    I don’t know if this is a good solution for both Network sites and non-Network sites, but atleast it’s a start in the right direction.

    https://wordpress.org/plugins/woocommerce-bulk-discount/

Viewing 1 replies (of 1 total)
  • Hi Stefan,

    I am having the same issues with the network.

    I replaced your code and It partially works. I started seeing the Woocommerce settings page for the plugin.

    But still cannot see the settings per product.

    I was wondering if you have managed to make this working completely ??

    Would you be able to share ? I’m stuck here.

    Many Thanks

Viewing 1 replies (of 1 total)

The topic ‘Plugin doesn't show up when installed in Network Setup’ is closed to new replies.