• Resolved Ray Konopka

    (@raykonopka)


    My Easy Digital Downloads plugin was updated to Pro. So now the plugin is named “Easy Digital Downloads (Pro)”. As a result, WP Menu Cart reports that it cannot detect an active shop plugin. The combo box of installed plugins in the WP Menu Cart Settings is empty.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Steven

    (@shazahm1hotmailcom)

    I’m not affiliated with this plugin, but I made it work with EDD Pro by editing the plugin code.

    You need to edit the wp-menu-cart.php file found in the ../wp-content/plugins/wp-menu-cart/ folder.

    You need to make three edits.

    The first. Go to line 111 which should be the following:

    case 'easy-digital-downloads':

    Add a new line and make it so lines 111 and 112 are:

    case 'easy-digital-downloads':
    case 'easy-digital-downloads-pro':

    In the next edit, you add three lines of code. At the lines 168–170 (new line numbers after making the above edit); you will find:

    case 'easy-digital-downloads':
    	return function_exists('EDD');
    	break;

    After the break; line add the following:

    case 'easy-digital-downloads-pro':
    	return class_exists('Easy_Digital_Downloads');
    	break;

    it should look like this when completed:

    case 'easy-digital-downloads':
    	return function_exists('EDD');
    	break;
    case 'easy-digital-downloads-pro':
    	return class_exists('Easy_Digital_Downloads');
    	break;

    For the last edit, go to line 209 (the new line number after the above edits). You should find the following:

    'Easy Digital Downloads'     => 'easy-digital-downloads/easy-digital-downloads.php',

    Add a new line with the following code:

    'Easy Digital Downloads Pro' => 'easy-digital-downloads-pro/easy-digital-downloads.php',

    When the edit is completed it should look like this:

    $shop_plugins = array (
    	'WooCommerce'                => 'woocommerce/woocommerce.php',
    	'Easy Digital Downloads'     => 'easy-digital-downloads/easy-digital-downloads.php',
    	'Easy Digital Downloads Pro' => 'easy-digital-downloads-pro/easy-digital-downloads.php',
    );

    Upload the edited file.

    Navigate to the WP Menu Cart settings admin page and choose Easy Digital Downloads Pro from the “Select which e-commerce plugin you would like Menu Cart to work with” dropdown, save the change.

    After the edits, the menu carts seems to work fine for me.

    I hope this helps!

    Plugin Contributor alexmigf

    (@alexmigf)

    @raykonopka @shazahm1hotmailcom

    We should bring the compatibility very soon, stay tuned.

    Plugin Contributor alexmigf

    (@alexmigf)

    Last version is now compatible with EDD Pro, closing.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘WP Menu Cart does not support Easy Digital Downloads (Pro)’ is closed to new replies.