WordPress.org

Ready to get started?Download WordPress

Forums

WooCommerce - excelling eCommerce
[resolved] Conflict between Woocommerce and Membership plugin by WP (5 posts)

  1. elizart
    Member
    Posted 1 year ago #

    Hi support !

    I hope I put this post in the good section and that you will be able to help me.
    I hav e a problem on my website using together Woocommerce plugin and Membership plugin by WPMU DEV.
    When Membership is activated, the cart page is only viewable when connected as admin. The free visitors anor members can't see it.
    When I desactivate Membership plugin, the cart page is correctly displayed and viewable...
    I have activated WP DEBUG to see what is the problem and the warnings are :
    Notice: Undefined variable: content in /homez.541/savoirsd/www/wp-content/plugins/membership/membershipincludes/classes/membershippublic.php on line 553

    Notice: Undefined index: post_type in /homez.541/savoirsd/www/wp-content/plugins/membership/membershipincludes/includes/default.rules.php on line 95

    Notice: Undefined index: post_type in /homez.541/savoirsd/www/wp-content/plugins/membership/membershipincludes/includes/default.rules.php on line 212

    Notice: Undefined property: WP_Query::$queried_object_id in /homez.541/savoirsd/www/wp-content/plugins/membership/membershipincludes/classes/membershippublic.php on line 647

    I'm using the basic theme Twenty Eleven and the site URL is : http://savoirsdexperience.com/ (the cart is on Boutique>Voir le panier)

    Morever, the memory allocated to PHP is 32MB and Woocommerce Status system tool suggests me to increase it to 64MB. Is this really necessary and can this change resolve the conflict problem between the plugins ?

    Many thanks in advance for any kind of help or suggestion!

    http://wordpress.org/extend/plugins/woocommerce/

  2. Coen Jacobs
    Member
    Plugin Author

    Posted 1 year ago #

    Increasing the memory limit will not resolve this issue for you, but yes that is very well recommended to do. WooCommerce needs more memory do to everything it does and 32MB is a real low limit. You can run into errors if you don't.

    The errors you have however are definitely Membership errors. They provide no compatibility with WooCommerce, as you can see. It is not up to us to protect this kind of errors, as it is an example of bad code.

    We also have Membership like solutions in store, if you like, which are definitely compatible with the WooCommerce plugin.

  3. elizart
    Member
    Posted 1 year ago #

    Hi,

    Thank you for your quick response!
    I will follow your advice and increase the memory limit.
    For the membership plugin, is about WishList Member that you are thinking?
    or is there other ones?

  4. Coen Jacobs
    Member
    Plugin Author

    Posted 1 year ago #

    Yes, you can use our WishList Member integration. But you can also have a look at our Groups for WooCommerce extension (perhaps even combined with the Subscriptions extension for recurring payment memberships).

  5. WPMUDEV
    WPMU DEV Support Staff
    Posted 1 year ago #

    Hi there!

    We actually have many members who use WooCommerce and our plugins :)

    The best way to allow folks to see the shopping cart is to use negative rules on your access levels.

    Most E-Commerce solutions generate their checkout pages and shopping carts on the fly, since you can't actually check a box for access to these pages your members will not have access to them if you are using positive rules. The plugin will look for a positive rule to access that page, which you cannot provide as it's not a standard page on your site and it changes with each customer.

    You'll find this is how other Membership plugins work as well. Using the positive/negative access to protect pages. You'll run into the same issue. It's just a simple matter of using the negative rules in this case :)

    WooCommerce has the advantage of building their membership solution around their ecommerce software. So, of course, it will work with it nicely :) It also means they have you hooked for another plugin.

    Their ecommerce is a great tool! Very beautiful and preferred by many. But calling someone else's plugin poor coding when it is only a matter of understanding how the plugin works is poor form. Especially when followed by a sales pitch.

    Please let me know if you have any more issues, I'll be glad to help!

    Best,

    Kimberly

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic