Groups WooCommerce

Groups WooCommerce is a WordPress plugin that allows to sell memberships with Groups and WooCommerce.

Selling Memberships with Groups and WooCommerce

Groups WooCommerce grants memberships based on products. It automatically assigns a customer to one or more groups based on the products ordered. Memberships can be sold through normal products where membership is granted for an unlimited time through one-time payments, or through subscriptions where the memberships lasts as long as the subscription is active, based on recurring payments and an optional setup fee. If you want to charge a monthly subscription fee, the WooCommerce Subscriptions plugin is required, which adds a new subscription product type. Groups WooCommerce controls the memberships for the duration of the subscriptions.

WordPress and Plugin Requirements

To sell memberships with Groups and WooCommerce you need at least WordPress 4.6 and these plugins:

Groups (free) – provides the membership and access control capabilities
WooCommerce (free) – provides the e-commerce system
Groups WooCommerce – allows to sell group memberships through WooCommerce

Optionally, if you want to sell subscriptions with recurring payments, WooCommerce Subscriptions – adds subscription products and recurring payments to WooCommerce.

680 Responses to Groups WooCommerce

  1. Anna June 30, 2022 at 6:51 pm #

    I am trying to stop a customer purchasing a product is they are in a particular group.

    I found this code

    * @snippet Hide Add Cart If Already Purchased - WooCommerce
    * @how-to Get FREE
    * @author Rodolfo Melogli
    * @compatible WooCommerce 5
    * @donate $9

    add_filter( 'woocommerce_is_purchasable', 'bbloomer_hide_add_cart_if_already_purchased', 9999, 2 );

    function bbloomer_hide_add_cart_if_already_purchased( $is_purchasable, $product ) {
    if ( wc_customer_bought_product( '', get_current_user_id(), $product->get_id() ) ) {
    $is_purchasable = false;
    return $is_purchasable;

    I need to quality the IF to if they bought the product AND are in a specific group called Member

    Can you help me?


  2. Kelsey May 2, 2022 at 12:39 pm #

    Hi there!

    I am just inquiring about compatibility. Will this plugin work with other monthly or weekly subscription plugins or just Woo Commerce made ones?


    • Kento May 2, 2022 at 12:45 pm #

      Hi Kelsey,

      Thanks for asking! It integrates with WooCommerce Subscriptions, we do not guarantee that it works with other subscription plugins.


      • kelsey May 16, 2022 at 3:26 am #

        Hi Kento!

        I ended up purchasing a few of your plugins thru Woocommerce.
        Groups Woocommerce
        Groups Coupons
        Volume Discounts

        I was wondering, I am struggling getting the volume discounts to function (be shown on the product price in the shop page & product page). I followed the documentation properly. I was hoping to restrict the volume discounts using the groups coupon functionality. Is this possible?


        • Kento May 16, 2022 at 11:13 am #

          Hi Kelsey,

          Great to hear, thanks for using our tools!

          Regarding your questions:

          – getting the volume discounts to function (be shown on the product price in the shop page & product page)

          In the section Product and Page Display Options of the documentation the corresponding options are explained.

          – hoping to restrict the volume discounts using the groups coupon functionality. Is this possible?

          Yes and that’s a great combination when you want to offer volume discounts to group members. Both extensions integrate nicely together, so you can use the group-membership restrictions as described in the documentation of the Group Coupons extension together with volume discounts.

          If you need specific help with certain combinations, please make sure to submit a support request via the official WooCommerce extension support channel where our team will help you further.


          • Kelsey May 16, 2022 at 11:30 am #

            Hey Kento!

            I reread that documentation. And even with all of the options for visibility turned on, the coupon is not automatically applying. Is it best to reach out thru woocommerce then?


            • Kento May 16, 2022 at 12:01 pm #

              Hi there Kelsey!

              The visibility options are independent from the automatic application. You’d have to make sure to enable “Apply automatically” under the Volume Discount tab. If you have that checked already and it does not apply automatically, it might be because the conditions are not fulfilled. In that case, I would recommend to reach out to our support team by creating a ticket, they’ll be able to review the coupons you are setting up and make appropriate recommendations.


    • Anna July 6, 2022 at 2:42 pm #


  3. Nik March 1, 2021 at 4:11 pm #

    Hi there… I’m looking for a way to sell access to BuddyPress groups and just wondering if this product could be configured to work with Buddypress? As a reasonably competent developer, I’d be happy to do some customisation to make this possible if you think it’s even remotely feasible? Or perhaps there would be a way to make it work with your own Groups plugin as an “intermediary” somehow.

    Any thoughts would be much appreciated. With many thanks in advance.

    • Kento March 2, 2021 at 1:21 pm #

      Hi Nik,

      Thanks for asking, I think it’s possible and would require little extra work. Here’s how I would approach it:

      Use Groups WooCommerce to sell group memberships, this also integrates with WooCommerce Subscriptions which I think would be recommendable for what you are trying to achieve.

      Take into account that BuddyPress groups and Groups’ groups are not related nor mapped in any specific way. I would simply set up the same groups in BuddyPress and in Groups, use the same names for clarity. Use Groups to protect access to the corresponding BuddyPress group pages by customizing the templates and using Groups’ API to restrict the content visibility. You can find examples here and the Groups Twenty Twenty provides an example of how you do content protection within templates with Groups.

      You would simply implement the protection in the template based on what BuddyPress group page is requested, ask Groups whether the current user belongs to the same group in Groups and show the content if he’s a member.

      The nice thing about this combination is that you get all the advanced access restriction capabilities from Groups, including shortcodes and blocks.

      I hope this gives you a good idea of how you could approach it.


      • Nik March 4, 2021 at 12:39 pm #

        Hi Kento

        Thank you so much for such a helpful response. As it happens, I’m currently testing a plugin which claims to be specifically designed to accept payments for access to Buddypress groups but if that doesn’t work out, I’ll definitely be coming back to re-read/re-assess your suggestions.

        Warm regards

        • Kento March 6, 2021 at 3:02 pm #

          Hi Nik,

          You’re very welcome. Feel free to comment on your experience if you’d like to share later on.


        • Anesu Gozo August 18, 2021 at 9:48 am #

          What is the name of the plugin, please 🥺 share

  4. SP November 2, 2020 at 9:55 pm #

    Hello – I can’t find a pre-Sales contact for asking questions, so I hope this will be an ok place to do it.

    Task Goals:

    My website is built with Avada and WooCommerce. Sales are managed with PayPal. I want to sell access to a product that is a (Vimeo) video. The video is embedded on a page on the website. The customer will pay for the video and then receive restricted access to a Page where the video can be streamed. Using Vimeo I can restrict playing of the video to my domain. Only people who have paid for the video can access the page where it is embedded.

    1. Can I use “Groups for WooCommerce” to achieve this?
    2. Are there plugins in addition to “Groups for WooCommerce” that I need to do this, for example “Groups PayPal”?
    3. If someone shares the URL to the restricted page, what happens if someone navigates to that URL?
    4. Do you have a free trial period that would allow me to try out the needed plugin(s) to see if it would support my needs?

    Thank you!

    • Kento November 14, 2020 at 1:38 pm #


      Based on what you describe, it seems that you would have a suitable configuration along with Groups WooCommerce. You would not need Groups PayPal in addition as you’re already using WooCommerce. You might want to consider WooCommerce Subscriptions which integrates appropriately with Groups WooCommerce. Regarding URLs, even if shared, as long as the pages are protected by Groups, plain visitors or non-members won’t be able to see their content. There is no trial period per se, but the refund policy on gives you plenty of flexibility to evaluate the combination.


  5. Floutsch September 29, 2020 at 2:45 pm #

    We bought this and ran into an issue we hadn’t thought of: Sure, a person can basically buy access by having a user who’s assigned the group in question. But is there a way to let a customer buy multiples of the same subscription to forward to others? Like a dad for his family, one of a group of friends for all of them at once or a company for their employees?

    • Kento September 29, 2020 at 9:49 pm #


      Good question, we’re taking this kind of scenario into account for enhancements, but you won’t be able to set up a super-account that would be able to manage sub-accounts with Groups yet. These would all have to be individual accounts for now.


  6. Kale June 24, 2020 at 3:40 pm #


    Is there any way to integrate MailChimp with this plugin? It’s possible with WooCommerce Memberships ( So, I’m wondering if this is possible, being worked on, or even a planned future feature?

    I would have contacted you through WooCommerce support ticket system, but I can’t submit a ticket at the moment for some reason.

    Thanks for any information!

    • Kento June 30, 2020 at 11:29 pm #

      Hi Kale,

      Thanks for your suggestion! We don’t have any immediate plans for this at the moment, but I think it would be great to have. I’ve added it to our features suggestions to take into account.


  7. Jevgeni January 16, 2020 at 9:01 am #

    Hello, when customer buy membership with Groups WooCommerce plugin, is it possible extend current membership? example: “customer membership ends march 2021 and he wants to buy new 12-month in November 2020 (Black Friday sales,) new membership will start limitedly in November – not extend current subscription, customer will lose 4 month of old subscription”

  8. Liz April 4, 2018 at 4:11 pm #

    I can use this too! Thanks!

    • Kento April 4, 2018 at 5:09 pm #

      That’s great to hear Liz! I’m very glad that this helps.

  9. Alex April 3, 2018 at 6:44 pm #

    One more quick question. I am using one of my Woocommerce subscription products to function as a payment plan. I would like the customer to have unlimited access to the content rather than expire after the subscription expires. Is there a function I can add to disable this expiration action for this specific product?

    Thanks again! It looks like this plugin is going to work exactly as I need it!

    • Kento April 4, 2018 at 9:23 am #

      I’m adding a filter that you can use for that, I think that’s the easiest solution. I’ll follow up shortly when it’s done. Thanks for the suggestion!

  10. Alex April 3, 2018 at 2:16 pm #

    This is a pre-purchase question. I would like to create this flow:

    1. Customer pays for product.
    2. Is added to group for that product
    3. Is asked to create a username and password to access the virtual product page (does this happen on the Woocommerce checkout page?)
    4. Once that is created, customer is redirected to product page to either login or access content.

    Is this flow possible? If so, what are the steps to enable it?

    Many thanks!

    • Kento April 3, 2018 at 5:01 pm #

      Hi Alex,

      The way this works with WooCommerce is almost as you describe, simply the order is different: 3, 1, 2

      So the cusomer would add the product that grants access to a group to the cart, go to checkout where the customer creates the user account and then proceeds to make the payment. When the payment is confirmed, the user is added to the group(s).

      For #4 the process is a bit different as there won’t be an immediate redirect to the protected content.

      Documentation resources you will find interesting:


      • Alex April 3, 2018 at 6:01 pm #

        Thank you so much. I purchased the extension. I appreciate your help, Kento!

        • Kento April 4, 2018 at 8:55 am #

          That’s great Alex, thank you very much for supporting our work through that!

          • Alex Mill July 24, 2019 at 2:25 pm #

            Hi Kento,

            I’m wondering if there’s a way I can add a customer to 2 different groups upon purchase—each with their own duration. I know I can add the customer to 2 different groups, but the only option is to have the same duration. Is there a special function I can add that will achieve this?

            Thanks so much for your assistance!

            • Kento July 29, 2019 at 6:40 pm #

              Hi Alex,

              Thanks for asking, the duration is common for all groups of a product so this isn’t possible.


              • Alex January 2, 2020 at 12:43 am #

                Hi Kento,

                Is it possible to add a customer to another group once it expires automatically? So remove from one group and add to another?

                Thank you!

                • Kento January 7, 2020 at 12:53 pm #

                  Hi Alex,

                  You could achieve that with a customized function that hooks on the groups_deleted_user_group action which is documented here – you would have to implement adding the user to the desired group when the account is removed from the first group.


  11. Philip Powell June 4, 2017 at 11:51 pm #

    I have groups, groups404, and groups woocomerce one of my members recently got this: below, I was able to duplicate the below error but I have no idea if this is a theme update issue or a plugin problem any ideas

    Fatal error: Uncaught exception ‘Exception’ with message ‘Element must be mapped in system’ in /home/thrzerd9/public_html/wp-content/plugins/js_composer/include/classes/shortcodes/shortcodes.php:1426 Stack trace: #0 /home/thrzerd9/public_html/wp-content/plugins/js_composer/include/helpers/helpers.php(1419): Vc_Shortcodes_Manager->getElementClass(‘vc_cta_button2’) #1 [internal function]: vc_do_shortcode(Array, ”, ‘vc_cta_button2’) #2 /home/thrzerd9/public_html/wp-includes/shortcodes.php(345): call_user_func(‘vc_do_shortcode’, Array, ”, ‘vc_cta_button2’) #3 [internal function]: do_shortcode_tag(Array) #4 /home/thrzerd9/public_html/wp-includes/shortcodes.php(223): preg_replace_callback(‘/\\[(\\[?)(vc_cta…’, ‘do_shortcode_ta…’, ‘[vc_cta_button2…’) #5 /home/thrzerd9/public_html/wp-content/plugins/js_composer/include/helpers/helpers.php(275): do_shortcode(‘[vc_cta_button2…’) #6 /home/thrzerd9/public_html/wp-content/themes/dt-the7/inc/shortcodes/vc_templates/vc_column.php(51): wpb_js_remove_wpautop(‘[vc_cta_button2…’ in /home/thrzerd9/public_html/wp-content/plugins/js_composer/include/classes/shortcodes/shortcodes.php on line 1426

    • antonio June 5, 2017 at 4:27 pm #

      Hi Philip,
      According with this log, it seems a problem with the js_composer (Visual Composer) plugin, not with our plugin.
      Kind Regards,
      Antonio B.

  12. Gianmaria May 18, 2017 at 3:15 pm #

    By the way, I also bought this plugin.
    I exported groups from a sitoweb.
    But if I try to import groups from the following error:

    Fatal error: Uncaught Error: Call to undefined function get_current_screen() in /home/freechat/public_html/wp-content/plugins/groups/lib/admin/class-groups-admin-user-profile.php:106 Stack trace: #0 /home/freechat/public_html/wp-includes/class-wp-hook.php(298): Groups_Admin_User_Profile::user_register(1009) #1 /home/freechat/public_html/wp-includes/class-wp-hook.php(323): WP_Hook->apply_filters(”, Array) #2 /home/freechat/public_html/wp-includes/plugin.php(453): WP_Hook->do_action(Array) #3 /home/freechat/public_html/wp-includes/user.php(1707): do_action(‘user_register’, 1009) #4 /home/freechat/public_html/wp-content/plugins/groups-import-export/lib/core/class-groups-user-import.php(401): wp_insert_user(Array) #5 /home/freechat/public_html/wp-content/plugins/groups-import-export/lib/core/class-groups-user-import.php(287): Groups_User_Import::insert_user(Array) #6 /home/freechat/public_html/wp-content/plugins/groups-import-export/lib/core/class-groups-user-import.php(78): Groups_User_Import::import_users(false) #7 /home/f in /home/freechat/public_html/wp-content/plugins/groups/lib/admin/class-groups-admin-user-profile.php on line 106

    • antonio May 23, 2017 at 6:21 pm #

      Hi Gianmaria,
      Maybe there is a problem with the file to import. If you want, you can send me the file to antonio[at]itthinx[dot]com indicating this conversation, and I’ll have a look at this.
      For support questions, please open a topic on the forums.
      Kind Regards,
      Antonio B.

  13. Gianmaria delfino May 12, 2017 at 11:22 am #

    But I have a question, do I have to transfer all users from a wordpres site to another? Can I also transfer all the groups and capabilities?
    Can you tell me how to do it?

    • antonio May 16, 2017 at 10:50 am #

      Hi Gianmaria,
      Please have a look at Groups Import Export plugin.
      Kind Regards,
      Antonio B.

  14. stane April 6, 2017 at 8:07 am #

    Hi Itthinx Team 🙂

    I send you several message about my problem but I’ve no answer since january…

    I do not use any more your plugin ” groups import export ” which I had bought since a few months because I did not any more succeed in making exports.

    I have just understood why, and maybe that it will allow me to use it and thus to renew…
    I use a plugin which manages fields author, this plugin it is WP Author Box Pro that I also bought :

    The problem it is because it generates fields for every user and I have thousands of users.
    Then when I open ” groups export ” and when I click “export” there is nothing, the page reloads but I can download nothing.
    On the other hand, if I delete approximately half of the fields ” wpautbox ” which you can see on my screenshot then I can again download the export.

    Then I tried to make “CRTL+A” for all them select and them delete but it creates an error of Javascript script.
    Impossible thus!

    I have to delete them one by one and to delete half I need more than one hour.
    Would you have a solution to remove these fields quickly? And so be able to use your plugin?

    see here :

    Thank you in advance, beautiful day and best wishes ! 🙂

    • antonio April 7, 2017 at 6:54 am #

      Hi stane,
      Have you tried using CTRL to select multiple field ? Then with the Backspace key you can remove these fields.
      Kind Regards,
      Antonio B.

  15. Liz April 5, 2017 at 2:35 pm #

    Hello! I have used your plugin successfully for a while, then it stopped adding people to the appropriate group and I cannot figure out why. I am using a Simple Product (virtual). I’ve spent hours trying to find any reason for it to stop working and cannot.

    Would it be possible for you to look at the backend of my site and tell me if there is something I am doing wrong?


    • antonio April 5, 2017 at 8:50 pm #

      Hi Liz,
      Sure, you can send me dashboard admin access to antonio[at]itthinx[dot]com indicating this conversation, and I’ll have a look at your settings.
      Kind Regards,
      Antonio B.

  16. Thomas December 9, 2016 at 6:03 pm #


    my problem is translation. All groups woocommerce text is displayed in english. How can I translate it into german?
    Regards Thomas

    • Kento December 10, 2016 at 4:06 pm #

      Hi Thomas,

      There is a translation for German included (see the languages folder inside the plugin’s directory). Also a .pot file is included if needed. Can you please check if you see those files?


  17. Gianmaria Delfino November 16, 2016 at 2:02 pm #

    ok maybe it could work, but I miss knowing how to create, for example, in 1000 password for a particular page on wordpres

    • antonio November 17, 2016 at 9:11 am #

      really I don’t know if there is any solution with multiple passwords.
      Kind regards,
      Antonio B.

  18. Gianmaria Delfino November 14, 2016 at 10:28 am #

    I’m sorry, I have another question.
    I would like to open a support ticket, but I can not recover my account.

    • antonio November 21, 2016 at 9:36 am #

      Hi Gianmaria,
      probably you have pruchased the plugin throw the Woocommerce website.
      Kind Regards,
      Antonio B.

  19. Gianmaria Delfino November 11, 2016 at 3:41 pm #

    on our site there are some restricted areas, accessible only by activation. These areas have been created with the plugin and therefore currently if a customer buys a product on my site, is automatically recognized also for access to protected content. But if the customer buys the same product in the library, it is I who have to turn to manual mode. there is a way to load the activation password for protected areas?
    In this way I could enter the password in the product, and the customer enters the password and enables access to the private area. is there any way?

    hello, you could implement this solution for my site?

    • antonio November 16, 2016 at 10:23 am #

      Hi Gianmaria,
      there isn’t easy solution for that. As alternative you could create a page with the [groups_join] shortcode as content, and limit the access to this page using the WordPress password protect system. So if I have the password, I can access to this page, and see the join form to join to the group that has access to the product.

      Kind Regards,
      Antonio B.

  20. Gianmaria Delfino November 11, 2016 at 9:07 am #

    hello, you could implement this solution for my site?

    • antonio November 11, 2016 at 9:40 am #

      Hi Gianmaria,
      If you use Woocommerce and Groups, you can use this plugin.
      Kind Regards,
      Antonio B.

  21. Gianmaria Delfino October 10, 2016 at 10:06 am #

    on our site there are some restricted areas, accessible only by activation. These areas have been created with the plugin and therefore currently if a customer buys a product on my site, is automatically recognized also for access to protected content. But if the customer buys the same product in the library, it is I who have to turn to manual mode. there is a way to load the activation password for protected areas?
    In this way I could enter the password in the product, and the customer enters the password and enables access to the private area. is there any way?

    • antonio October 13, 2016 at 8:39 am #

      Hi Gianmaria,
      sorry, there isn’t an option to use passwords to enable access. You can use the Groups API if you need to create a custom solution.
      Kind Regards,
      Antonio B.

      • Gianmaria Delfino November 14, 2016 at 10:22 am #

        hello, could you help me to make this change?
        of course fee.
        or suggest a programmer who could do this for me.

        • antonio November 16, 2016 at 10:41 am #

          I have just indicated a few steps that may help you.

  22. Jack August 10, 2016 at 10:49 am #


    Just wondering is it possible to also display group name when I searching a customer by calling “json-search-customers” dropdown?


    • antonio August 11, 2016 at 9:08 am #

      Hi Jack,
      You could use the ‘woocommerce_json_search_found_customers’ filter using the Groups API.
      Thanks for the suggestion.
      Kind Regards,
      Antonio B.

      • Jack August 11, 2016 at 9:33 am #

        Hi Antonio,

        Thank you for your reply, I just added few lines but doesn’t seem to return any value please check my code below. Perhaps I put it at the wrong place. Could you please help me with some example?

        foreach ( $customers as $customer ) {
        // use id to check if user is VIP
        $is_a_member = false;
        require_once( ABSPATH . ‘wp-includes/pluggable.php’ );
        if ( $group = Groups_Group::read_by_name( ‘VIP1’ )||$group = Groups_Group::read_by_name( ‘VIP2’ ) ) {
        $is_a_member = Groups_User_Group::read( $customer->ID , $group->group_id );

        // use id as key to return unique array
        $found_customers[$customer->ID] = array(
        ‘id’ => $customer->ID,
        ‘display_name’ => $customer->display_name,
        ‘first_name’ => $customer->first_name,
        ‘last_name’ => $customer->last_name,
        ‘dismember’ => $is_a_member,
        ‘user_email’ => sanitize_email( $customer->user_email ),

        • antonio August 11, 2016 at 3:33 pm #

          Hi Jack,
          if you add this code in your functions.php theme file, this should work (really I have not tested the filter).
          Kind Regards,
          Antonio B.

  23. Ivan July 23, 2016 at 3:51 am #

    Just a gentle reminder that all WordPress headings in admin screens have changed from H2 to H1, H3 to H2, etc in version 4.3, back in July 2015. Please consider changing your heading structure so it’s semantically correct.

    For instance, in `lib/admin/class-groups-ws-user.php`, “Group Memberships” & “Groups” should be level H2 headings, not H3. “Edit Memberships” should be level H3 heqding, not H4. There may be other inconsistencies in that file and elsewhere, since I haven’t checked every single file.

    • antonio July 26, 2016 at 4:56 am #

      Hi Ivan,
      We are working on it.
      Thanks for the suggestion !
      Kind Regards,
      Antonio B.

  24. Kath March 12, 2016 at 3:02 am #

    Can I use WooCommerce Subscriptions and WooCommerce Groups together as follows:

    Customer signs up to take a course on a monthly payment plan (subscription) with a automatic monthly credit card charge.

    Payment 1 assigns customer to Group 1 with access to Section 1 of the course.

    Payment 2 assigns customer to Group 2 with access to Section 2 of the course

    So in order words, can I set up a Subscription where each payment results in a new group membership added to the customer?

    • antonio March 13, 2016 at 7:24 pm #

      Hi Kath,
      You can not select Groups per payment, but you could create two subscriptions, one for each group.
      Kind Regards,
      Antonio B.

  25. David February 21, 2016 at 6:20 pm #


    I have a problem with the translation of the duration. My product is defined in french and translated in english. When I change the duration of the subscription the value is not updated in english ?? And the english translation is still in french ?



    • antonio February 22, 2016 at 7:32 am #

      Hi David,
      This translation is not relating with Groups plugin. It’s a Woocommerce translation or Woocommerce Susbcription if you are using it.
      Maybe this string is not translated to english, so the system is using the french default system language. You should review the Woocommerce translations.
      Kind Regards,
      Antonio B.

  26. Lori January 7, 2016 at 4:13 pm #

    Thank you so much for your response! Is there a specific cron command that is supposed to run?
    We have the capability to create a cron job, but it requires a command.

    We love this plugin and all the capabilities and appreciate your help!

    • antonio January 8, 2016 at 9:07 am #

      Hi Lori,
      maybe this post can help you.
      Kind Regards,
      Antonio B.

  27. Lori January 6, 2016 at 10:48 pm #

    Hi, I set up a product and when the user purchases it, they get added to a group for one month. It is not removing the user from the group when it expires as it should. I’m looking at the date and times and reading the on screen guidance in the users, but it’s clearly past the time that is populated and the member is still in the group. Any suggestions?

    • Kento January 7, 2016 at 11:06 am #

      Hi Lori,

      This is likely due to cron not running on your site. Please use WP Crontrol to check it.


  28. yuval January 3, 2016 at 10:20 am #

    How do I limit the number of users that are connected
    simultaneously on the same user after he bought the parcel
    Thank you

    • Kento January 4, 2016 at 12:14 pm #


      Please have a look at the Prevent Concurrent Logins plugin. It works in general and can’t be limited to groups, but it’s a solution you could use.


  29. Ken December 7, 2015 at 2:35 am #

    We’re experiencing major issues with Groups Woocommerce and Subscriptions version 2.0. Every time we try to manually activate a subscription we’re seeing:

    Notice: Trying to get property of non-object in /home/bionictu/public_html/wp-content/plugins/groups-woocommerce/lib/core/class-groups-ws-handler.php on line 389

    Warning: Cannot modify header information – headers already sent by (output started at /home/bionictu/public_html/wp-content/plugins/groups-woocommerce/lib/core/class-groups-ws-handler.php:389) in /home/bionictu/public_html/wp-includes/pluggable.php on line 1207

    I also get this issue when I try to suspend a subscription:

    Notice: Trying to get property of non-object in /home/bionictu/public_html/wp-content/plugins/groups-woocommerce/lib/core/class-groups-ws-handler.php on line 585

    Warning: Cannot modify header information – headers already sent by (output started at /home/bionictu/public_html/wp-content/plugins/groups-woocommerce/lib/core/class-groups-ws-handler.php:585) in /home/bionictu/public_html/wp-includes/pluggable.php on line 1207

    All debugging has been turned off on our server, so I don’t know why these notices are appearing and breaking our workflow.

    • antonio December 15, 2015 at 9:45 am #

      Hi ken,
      please be sure the debug in your wp-config.php file is disabled.
      Relating to the warning, please give us your wordpress, woocommerce, woocommerce subscriptions, groups and groups woocommerce versions.
      Kind Regards,
      Antonio B.

  30. Ciaran November 18, 2015 at 2:59 pm #


    The latest version of WooCommerce Subscriptions, version 2.0, is a major update – Will your Groups Woocommerce plugin work ok with it, has it been tested?



    • antonio November 25, 2015 at 10:57 am #

      Hi Claran,
      yes, it should work fine with the last version. Remember tomake a full backup before update any plugin.
      Kind Regards,
      Antonio B.

  31. Rob November 10, 2015 at 3:17 am #

    Hello, I seem to be having issues where using woocommerce subscriptions and woocommerce groups doesn’t appear to work properly.

    I have groups setup properly with capabilities and whatnot, and I have a subscription product setup (virtual + downloadable so that orders complete immediately after payment)… however, the subscriber is never added to the configured group… They are also not added when an admin manually confirms their order.

    I submitted a ticket on woothemes a few days ago and haven’t heard anything. I really need help and I don’t know who else to contact.

    Please advise.

    • antonio November 10, 2015 at 8:23 am #

      Hi Rob,
      if you set ‘Processing’ in Woocommerce->Groups, then user are added correctly?
      If you can, please enable wordpress debug and make a subscription purchase.
      To enable debugging, edit your wp-config.php file and replace the following line
      define('WP_DEBUG', false);
      with these lines
      define('WP_DEBUG', true);
      define('WP_DEBUG_LOG', true);

      Also, create a file named debug.log under wp-content folder.
      Kind Regards,
      Antonio B.

  32. Peter November 2, 2015 at 2:07 pm #

    I’m trying to restrict one product to users that are not part of group members
    Groups for Woocommerce (licensed and activated)

    Have several users in group “Members”, and several users NOT part of Members.
    have 4 products, of which product “XYZ” has access restriction set to “Members”.

    Users that are not part of group members, can still see and order product XYZ.
    de-activated and re-activated plugins, no difference.
    what gives?


    • Kento November 2, 2015 at 4:43 pm #

      Hi Peter,

      You most probably need to clear the cache.


      • Peter November 2, 2015 at 4:55 pm #

        Yea did that, at the “admin bar” .
        Still the same. the only thing that is restricted in that specific product is the “description” to users in members group. But they can go ahead and order it anyway.

        • Kento November 3, 2015 at 2:00 pm #

          If they can order it then you you either have a conflict with another plugin or the access restrictions are not set up properly. Set the access restrictions on the product: try setting e.g. Distributor in the quick-create box under the Access Restrictions box and then update your product – try with another browser and make sure you’re logged out, you won’t be able to see the product if you don’t belong to the group and you also won’t be able to add it to the cart even though you know the URL used to add it to the cart.

          • Peter November 7, 2015 at 5:51 am #

            I see what the culprit is.
            I have added this code to functions.php, on a previous recommendation from your team.
            This code shows the visitors my site the title of all the posts in a “recent posts” widget, but when they click on it, they will get a message that they have to become a member.
            However with this code applied, a visitor can order an item that has been restricted access to group “members”. they won’t see the description of the products, but they are able to order the product.
            How can I adjust the code that it will restrict ordering products that are assigned restricted access to group “members” to members only?
            Thank you.

            • antonio November 12, 2015 at 7:14 am #

              Hi Peter,
              you can not do it with this code.
              Maybe Woocommerce Role Purchasable can help you. But this plugin works with roles, not with groups.
              Kind Regards,
              Antonio B.

              • peter November 12, 2015 at 1:15 pm #

                Thanks for the reply, but the “Woocommerce role purchasable” won’t work for me, since you can not assign “roles” on a product by product bases.
                this is how I want it to work:
                A guest first purchases a “membership”, then they get placed in the “members” group. As part of the members group they now should have access to products with access restrictions set to members.
                It works fine without the “excerpts” code. But with the excerpts code applied, guests can purchase products with access restrictions set to members, without being part of the members group.

                If I remove the excerpts code, it works fine, but then I have the issue with my “recent posts” widget. so I’m stuck.

                • Kento November 17, 2015 at 1:11 pm #

                  See my related comment here please. As I’ve explained there, the “groups-excerpts” thing is not a correct solution as it effectively removes protection from posts. It should either be corrected, or the simpler solution is what I’ve indicated in the comment.

  33. MC October 28, 2015 at 12:40 pm #

    Hi team,

    I’ve a stupid question :))

    If I use ” groups for woocommerce ” and ” subscriptions for woocommerce” and I create a product in woocommerce such as:
    – Purchase premium membership for 1 year = addition of the customer to the “premium group”
    – On 1 year later, the customer is removed by the “premium group”

    That all right it is easy.

    But now, let us imagine I create a special product for the faithful members in woocommerce such as:
    – Purchase of a membership in renewal = addition of the customer to the “premium group loyalty” + “premium group”
    – On 1 year later, the customer is removed by the “premium group” and by the “premium group loyalty”

    But I have one day a renewal customer who registers again with another email and who tells me: ” thin I had seen the premium offer loyalty you can add to me to this group, please ?”

    Then how be going to make ” groups for woocommerce ” if I add manually this customer to the group ” premium loyalty ” ?
    At the end of the year when its subscription will be ended, “groups for woocommerce ” goes only removed the member of the group connected to its purchase? Thus he is not going to remove him from the group ” premium loyalty ” in this case ?

    Yes ? I’ve understand ?

    If yes, then how can it be done to add a customer in a group manually but what it is removed from this group at the end of its subscription ?

    Thank you for your information and saddened if I am not clear my English is bad….


    • Kento October 29, 2015 at 4:39 pm #


      Thanks for asking, it’s a valid question and there’s an answer and documentation to it. Please refer to this documentation page under the heading “Manual Assignments” you will see how a limited membership can be added manually.


  34. Duncan October 23, 2015 at 6:26 pm #


    I’ve been using Groups WooCommerce for a while now – wonderful product! I was wondering if there was any way to export member information on any users who membership is about to expire (a query I can run that would compare their expiration date to an arbitrary datetime value)? I was mucking around in the DB, but couldn’t seem to find any date/datetime values or an “expiration” (or something equivalent) column. Could you please contact me with some insight into this?

    Again, wonderful plugin!

    • antonio October 26, 2015 at 3:22 pm #

      Hi Duncan,
      if you are using Woocommerce Subscriptions, maybe this post can help you.
      Kind Regards,
      Antonio B.

      • Duncan October 26, 2015 at 9:37 pm #

        Hey Antonio,

        Thanks for the quick reply! Unfortunately, we are not using the subscription plugin. Is there any other way I can get the expiration date on a user’s membership to a group, or would I have to do this based on their order date (which would take this out of the realm of Groups and into WooCommerce)?

        Thanks again!

        • antonio October 27, 2015 at 3:57 pm #

          Hi Ducan,
          then the data is stored in the database as ‘_groups_product_groups’ in the wp_usermeta table.
          In groups-woocommerce/lib/core/class-groups-ws-handler.php around line 139 you have an example how to use this usermeta.
          Kind Regards,
          Antonio B.

  35. Juliette October 11, 2015 at 9:15 am #

    Hi team and users,

    I used : Woocommerce 2.4.7 + Groups 1.7.2 + Groups Woocommerce 1.8.2 + Woocommerce Subscriptions 2.0.0

    I would like to say to you that “Groups woocomerce” doesn’t work with “subscription product” any more since its update (it only works with “simple product’)

    All the parameters are accessible but when a customer places order he is not any more added to the selected groups…

    I am going to make out a will with the old version but while waiting for it is necessary to be careful before making the update…

    Bad news

    Have a good day !

    • Kento October 12, 2015 at 10:25 am #

      Hi Juliette,

      Please update the plugin to the latest version 1.9.0 where the compatibility issues are resolved.


      • juliette October 12, 2015 at 4:55 pm #

        Hi Kento,

        Yes it’s works perfectly ! 🙂


        • Kento October 13, 2015 at 8:13 am #

          Perfect, thanks 🙂

  36. Rob October 10, 2015 at 4:58 pm #

    This question has also been posted as ticket to WooCommerce:


    As you can see, instead of the groups assignments for products purchased being organized clearly and in such as way where you begin typing the group names into the fields and then it prepopulates with the groups, each field (to add to groups and remove from groups upon purchase) are being listed in drop down fields.

    So something is wrong with the normal formatting of the Groups For WooCommerce configurations format.

    Is this a problem w

    • Rob October 10, 2015 at 6:09 pm #

      Never mind. This issue was resolved when I updated WC Subscriptions, oddly enough.

      • Kento October 12, 2015 at 10:30 am #

        Hi Rob,

        Thanks for following up, please make sure to update Groups WooCommerce to 1.9.0, too as there are changes in Subscriptions 2.x which made it incompatible with the previous version.


        • Rob October 13, 2015 at 2:03 pm #


          Yes I have already updated it.

  37. Peter Netz Lassen October 7, 2015 at 10:59 pm #

    I dropped back to ver. 1.5.3. of Groups!!! That worked!

    My guess is that Groups 404 and Groups when both upgraded to latest version … Don’t communicate!?

    I am just happy it works for me again… 3 days in PAIN!! is over
    (Reinstall – deleting, activating, deactivating and all combos of what ever I could imagine to do… Change theme, deleting plugins…)
    Old version saved me!!!



    • antonio October 10, 2015 at 11:26 am #

      Really new versions should work fine together.
      Kind Regards,
      Antonio B.

      • Peter Netz Lassen October 10, 2015 at 9:43 pm #

        Your right – My mistake… I was a fluke – After 3 tests… The issue was back – So I upgraded again! 🙂

  38. Peter Netz Lassen October 5, 2015 at 11:39 pm #

    Hi Antonio
    I got the Group
    The Group 404
    WooCommerce group pricing

    I’t worked —until the upgrade?
    Now I don’t get the WP registrer/login page when a product is “protected” – I get a normal 404 page?
    I been pulling out my hair … (no more left)
    any clues?


    • antonio October 6, 2015 at 8:31 am #

      Hi Peter,
      please be sure your Groups 404 redirect is enabled.
      You can visit Settings->Permalinks and Save changes (no need to change anything).
      Kind Regards,
      Antonio B.

      • Peter Netz Lassen October 6, 2015 at 10:37 am #

        Hi Antonio,

        What do you mean… Groups 404 is enabled and I tried login page or a page ID – and both. Is there any special settings?
        I tried to save the perma…

        No diff…
        I still get the normal page not found (404) and not the settings I did in Groups 404??
        I test with a browser (Chrome) where I am NOT logged in.
        The entire purpose is to redirect non-login users to create a login/profile
        and my plan is to give them an reason they can’t refuse on the login/create page??
        But how do I get them there?

        Kind regards


        • antonio October 10, 2015 at 11:11 am #

          Hi Peter,
          it should work fine. Please send us dashbaord admin access to support at itthinx dot com and we’ll have a look at your settings (please indicate this conversation in the email).
          Kind Regards,
          Antonio B.

          • Peter Netz Lassen October 10, 2015 at 9:42 pm #

            Hi Antonio,

            Super… Thanks I appreciate your help (Email sent). Really look forward to hear what I missed… 🙂
            Have a GREAT Weekend


            • Peter Netz Lassen October 13, 2015 at 10:04 am #

              Thanks for the help… (You checked my settings) and I was missing the Woo Shop protection:
              That’s why it didn’t work…
              Thanks a million for your help!!
              If you ever come to Copenhagen… I’ll take you out for a beer 🙂

              • Kento October 13, 2015 at 10:16 am #

                Sounds great, I’m looking forward to that 🙂

                If you could spare a minute and rate the Groups plugin that would also be awesome! Good ratings help and motivate to make things even better 😉

  39. Robert September 10, 2015 at 4:27 am #


    Do you have a plugin that creates dynamic pricing for woocommerce products based on group membership, that also shows the adjusted prices on the shop page and single product pages (instead of only in the cart)?

    • antonio September 10, 2015 at 6:42 am #

      Hi Robert,
      you can use Woocommerce Group Pricing plugin.
      Kind regards,
      Antonio B.

      • Robert September 11, 2015 at 12:53 pm #


        Hey thanks so much for referring me to WooCommerce Group Pricing plugin! It is exactly what I needed, and the only plugin I’ve seen so far that does pre-cart dynamic pricing based on group membership. I wonder if it will work in conjunction with the other Dynamic Pricing plugins that adjust pricing in the cart based on custom rules. I’m wondering if WooCommerce Group Pricing will set the new base price for the product per group, and then the Dynamic Pricing plugin will calculate further discounts in the cart based on custom rules.

        Have you tried that, or ever heard of it being done?

        • antonio September 14, 2015 at 7:34 am #

          Hi Robert,
          sorry, I have not tried that. You could send me your dynamic pricing plugin to have a look to and continue this conversation in the eggemplo page.
          Antonio B.

  40. Rob August 21, 2015 at 4:57 am #


    Can we apply groups restriction to media files? I know we can restrict a page the media plays on, but can we restrict the actual media file’s url itself, so that just in case a file’s url (audio or pdf file) gets emailed from a member to a non member, the non member still cannot access it unless the member gives them their login info?

    • kento August 21, 2015 at 7:47 am #

      Hi Rob,

      We’re using Groups File Access for these cases. Have a look at that one please, it’s a bit different than using the media section but is proving to be very useful in lots of deployments where you need to protect certain files.


      • Rob August 21, 2015 at 3:23 pm #


        Groups File Access looks nice, but I’m not sure if that will do what I need. Can you please clarify. Here is what I am building:

        It is a a membership site using Groups for WC and WC Subscriptions. So files are only accessible through the to customers / group members. However, I’m wondering what happens if someone gets the direct link to an audio file without purchasing it. Will this plugin keep non-members from downloading a file even if they get the actual url of the file?

        • kento August 28, 2015 at 7:00 am #

          Hi Rob,

          They won’t be able to access the file even if they know the URL. GFA protects access to the files themselves – I’d recommend to have a look at the Documentation so you get a clearer idea of how it works.


          • Robert August 28, 2015 at 12:27 pm #

            Awesome. I’ll check it out.

      • Rob August 26, 2015 at 4:04 am #


        It appears my reply to your last reply is not longer here. I was asking if the Groups File Access plugin can be used lock the actual file url. In other words, if someone gets the actual file’s link, will the Groups File Access plugin block the person from viewing or downloading the file do not have access through Groups?


        • kento August 28, 2015 at 7:15 am #

          It was in the moderation queue 😉

  41. Doug August 6, 2015 at 2:16 am #

    An issue that I am seeing is that the option:

    Administrators override all access permissions derived from Groups capabilities.

    … no longer works with Woo Sensei.

    Last year when I was migrating my content to Woo Sensei, as the administrator I had access to all of the courses. For the past few months (I’m going to guess 6 months), as administrator I do not have access to my own Woo Sensei courses unless I manually generate a purchase from the WooCommerce back-end system.

    Given my previous comment (added just a few minutes ago) and the behavior described here, I believe there is a fundamental issue with Sensei content and Groups.

    Would you be kind enough to look into it?


    • kento August 11, 2015 at 7:06 pm #

      Have you assigned your user account to the groups that are required to access the protected content? From what you describe, and taking into account that with the admin override in place you had, it seems that you don’t. You can simply use the main user management section and add yourself to the required groups (those that have the capabilities required to access the protected content).

      • Doug August 11, 2015 at 8:55 pm #

        Yes, the admin has group access to every course.

        • kento August 12, 2015 at 6:15 am #

          Could you provide admin access to have a look please? Staging site instead of production would be preferred if possible. Please forward credentials to support at itthinx dot com with a link to this conversation.

  42. Doug August 6, 2015 at 2:09 am #

    First, my configuration:

    – Woo Sensei learning management courses are associated with WooCommerce Products.
    – Woo Sensei courses are protected by Groups.
    – Products purchased through WooCommerce add customers to the appropriate groups … granting access to the appropriate course(s) after purchase.

    What works:

    – When I perform a standard purchase – or generate a purchase manually on the back-end – everything works as expected.

    What doesn’t work:

    – When I manually add an existing user to a group, the user does not actually get access to the content.
    — The course is not listed in their list of available Sensei courses.
    — If I try to bypass Sensei and go directly to the slug, I see the Sensei page, but it tells me I have to purchase it.
    — Bottom line, I can’t grant access to course content by adding a Group permission to a user.

    Why this matters to me:
    – I have a relationship with a company whereby their members can gain access to one of my courses for free by filling out a form to verify their member status with the company.
    – I would like the submission of the form (using Gravity Forms) to grant access to the course straight away. While the Groups – Gravity Forms plugin allows me to add user to groups, it has no real affect in granting access to protected content in Sensei.

    I don’t know if the issue is on your side or on WooThemes’ side, but you have always been really responsive and probably have more to gain by making this work than does WooThemes.

    Can you look into the issue?


    • kento August 11, 2015 at 7:02 pm #

      Hi Doug,

      Thanks for explaining, wouldn’t it be easier if you just created an order manually for the course? The restrictions and access grant should be applied automatically.


      • Doug August 11, 2015 at 8:47 pm #

        It is not easier. The point of my query is to avoid having to manually create orders (under any circumstance).

        Case in point, I am supposed to be on vacation right now, but I have to continually check to see if a form was submitted, because I have to complete the process (by manually generating an order).

        If the assignment of groups worked as I would prefer (with woo Sensei) then I could automatically grant access and truly unplug my brain on vacation.

  43. Rachel August 5, 2015 at 3:07 am #

    HI, I manually added a user to a group and wanted to set their time limit but it’s not updating. It still says infinite.

    • Rachel August 5, 2015 at 3:09 am #

      Also, can you tell me if there is a callback function for when a user is about to be removed from a group after the set time limit? I basically want to notify the user, so they can purchase another yearly plan.

  44. pankaj July 11, 2015 at 8:02 am #

    group woocomerce expiration is not work after expire time not delete user from group
    please help

    • antonio July 14, 2015 at 5:49 pm #

      Hi pankaj,
      please be sure you have enable the option ‘Remove users from groups when…’ in Woocommerce->Groups.
      Antonio B.

      • pankaj July 17, 2015 at 5:11 pm #

        yes that is enable in woocomerce group but this plugin is work on another servers but not my server

        • kento July 18, 2015 at 11:37 am #

          It doesn’t matter where it works as long as you can control how the server behaves. If you don’t see memberships expired, you most probably have an issue with cron not working on your site. Use WP Crontrol to check if it is working, and if it isn’t, you must undertake the necessary steps to make cron work on your site so the system can remove expired memberships when they are due.

          • jeff August 24, 2015 at 3:06 pm #

            I am interested in the groups. If groups is set to default users to the “registered” group, but we sell a membership to a “Premiere” group, and when someone buys the “premiere” membership, we set the subscription to remove the user from “registered”, will, at the end of the subscription period, the customer be returned to the “registered” group and be removed from the “premiere” group.

            • kento August 28, 2015 at 7:04 am #

              Hi Jeff,

              You would not want to remove anyone from the “Registered” group. You would base your access restrictions on the “Premium” group only and when the subscription ends, the membership with the “Premium” group would be revoked and thus access to protected content based on the “Premium” group would be denied.


  45. Peter June 16, 2015 at 10:53 pm #

    Hi kento,

    Is it possible to move a user from one group to another when the user buys something (complete an payment)
    I don’t sell memberships but just want to move a “Registered” to “Customer” so I can send a notification 🙂

    Best regards


    • antonio June 17, 2015 at 5:23 pm #

      Hi Peter,
      with the Groups Woocommerce Integration you can do it (adding the ‘Customer’ group to the products edit page).
      Antonio B.

      • Peter Netz Lassen June 19, 2015 at 10:16 am #

        Thx antonio
        I fixed it with your help …I imported all customers and did the manual edit from group Regis (Auto assigned) to the VIP
        Heck it was only 3000 … got late to bed thihihi LOL


        • antonio June 19, 2015 at 10:31 am #

          🙂 perfect

Leave a Reply

We use cookies to optimize your experience on our site and assume you're OK with that if you stay.
OK, hide this message.

Affiliates · Contact · Jobs · Terms & Conditions · Privacy Policy · Documentation · Downloads · Useful Plugins · My Account