Support » Plugin: WooCommerce Video Product Tab » Multisite: Have to install Woocommerce

  • Resolved Schelte



    I’d like to install this plugin in a multisite environment.

    After installing the plugin, I get the following error:
    “WooCommerce Video Product Tab requires WooCommerce to be activated in order to work. Please install and activate WooCommerce first.”

    Is it right that this plugin is not compatible in a multisite environment? If it is, does anyone know how I get the plugin working?

    Thanks in advance.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Sébastien Dumont


    Yes I do understand that there is a problem with my plugins on multi-site environment.

    I will be updating this plugin and all other WooCommerce plugins of mine with a new piece of code that will replace what currently detects if WooCommerce is active for a single site environment.

    This is the current code in use.

    // Checks if the WooCommerce plugins is installed and active.
    if(in_array('woocommerce/woocommerce.php', apply_filters('active_plugins', get_option('active_plugins')))){

    This is the new code I will use.

    // Query whether WooCommerce is activated.
    	function is_woocommerce_activated(){
    			$is_woocommerce_active = true;
    			$is_woocommerce_active = false;
    		return $is_woocommerce_active;
    /* If WooCommerce is active then we load the plugin. */
    /* Plugin code is here. */

    Plugin Author Sébastien Dumont


    Please can you try this version and let me know if it works ok.

    Your feedback will be most helpful.

    Thank you.

    Plugin Author Sébastien Dumont


    I just noticed the type error.

    It should be if(is_woocommerce_activated()){

    Updated the beta file.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Multisite: Have to install Woocommerce’ is closed to new replies.