Groups WooCommerce

Groups WooCommerce is a WordPress plugin that allows to sell 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 3.3 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

and optionally, if you want to sell subscriptions with recurring payments:

WooCommerce Subscriptions – adds subscription products and recurring payments to WooCommerce

106 comments

  • Jason

    Groups with WooCommerce looked ideal for what I am trying to accomplish with a few sites I am developing, but I wanted to clarify some of the functionality. I plan to use PayPal standard and I want to ensure that the user only gets added to the group after payment as been processed and confirmed through PayPal, and not when they are added to the user table on checkout.

    • The user is added to the group(s) when the order status is completed, this is after payment has been received so it covers your requirement. The only group that a user will belong to automatically is the Registered group.

  • Why do I have to complete the orders manualy? I see the transaction ID, the PayPal payment and the orders stay on “Processing”. I have to put the orders manualy on “Completed”.

    So the customer don’t have acces to the group content he paid for, until I put “Completed” on the order.

    Thanks!

    • There is an update pending release that allows you to have the group assignment done automatically when an order is already in Processing. It should be out within a few days.

  • Corey

    Does this plugin also secure images and other uploaded media? For example, I have some posts that only paying members should be able to view. On these posts I have images and that I upload. If visitors to my site do not buy membership I don’t want to allow them access to those images on the post. Even if they can’t see the post, I don’t want them having any access to the images. Does this plugin do that? If not, any recommendations? This plugin looks like something I could use, but I really need to protect all content.

    Thanks!

    • Access to files can be protected with the Groups File Access extension. Groups 1.3.0 (which has just been released) allows to restrict access to Media (the attachment post type), but this does not protect the actual media files related, if someone knows the URL of a file they can still access it and that’s what Groups File Access does protect.

  • Hi there, I was told to contact you regarding this issue. I’m using the Propulsion Theme that has been designed to work well with all of WooCommerce’s plugins.

    I purchased the groups extension plugin for the site that I’m working on. After purchasing it the plugin collapsed one of the site’s elements that I was using. After getting support to fix the collapsed div/php the solution conflicted with the shortcode script that was able to be inserted and function prior to activating the groups extension as well.

    The tech support person said:

    “Hey!

    Please contact the Groups author in this case: http://www.itthinx.com/contact/ – it seems like he uses a content filter which breaks our theme.”

    I have some useful clues and lines of code that were indicated as the primary area of focus but I don’t want to go on for too long here just in case I should just contact you via email, privately. But in the page text it said that you don’t answer support questions there.

    • Hi Bryan, here would be the appropriate place. Can you also post a link to the site/page where you see the issues?

      • Hi there,

        Here is a link to the website and page that is having the issues:

        http://virtualprivateinternet.com

        The default theme that is being used can be found here:

        http://themeforest.net/item/propulsion-responsive-business-ecommerce/1126092?sso?WT.ac=search_item&WT.seg_1=search_item&WT.z_author=Kriesi

        The line of code that I commented out to get the call out box to return was in the helper-templates.php file:

        // $dynamic_text = apply_filters(‘the_content’, $dynamic_text);

        This brought the box back but disabled the ability to use html and/or shortcodes in that area.

        Another tech support post (the one that suggested I write you directly and that there is something, content filter wise that is causing the conflict) produced this block of code as the area of focus:

        if(!function_exists(‘avia_banner’))
        {
        function avia_banner($position)
        {
        $extraClass = “”;
        $output = “”;
        $cookieHash = “”;
        $bannerText = avia_get_option(‘banner’);
        $cookieName = THEMENAME.’_avia_banner’;
        $bannerHash = md5($bannerText);
        if($position) $extraClass = ‘relative_pos’;

        if(!empty($_COOKIE[$cookieName])) $cookieHash = $_COOKIE[$cookieName];

        $output .= “”;
        if(trim($bannerText) != “” && $bannerHash != $cookieHash)
        {
        $output .= “$bannerText “.__(‘close’,'avia_framework’).”“;
        }

        $output .= “”;
        echo $output;
        }
        }

        ==

        I hope those clues help. Thank you for taking a look at this.

      • Hi,

        I’m using woocommerce with the same Propulsion Template and I’m planning to buy your Group extension as well. How is this going?

        Thanks
        Mario

    • Looking into it … the only the_content filter that Groups places filters out the content when the viewer must not see it because of access restrictions in place, that wouldn’t cause any conflicts with a theme though.

    • Ok tested it with all current versions of Groups, Groups WooCommerce, WooCommerce and the Propulsion theme. Not a single notice with full debugging on so that’s good. Site looks good as well (nice theme by the way). You mentioned this “…collapsed one of the site’s elements that I was using. …” – what element exactly is that and how are you placing it on the site?

      • Hey Kento,

        Thank you for taking a look. The element that was collapsed was the callout box. That is the area just below the main navigation and header above the homepage slide. Right now there is text that reads: “You’re IP address is [the shortcode] in the city of [shortcode] – Why should you care?”

        When I inspect it with Firebug this is the div: outer_callout dynamic_el_1

        That block of PHP I inserted in an earlier comment is the block of PHP that calls this area.

        ++

        I went through and tested other shortcodes that came installed, default with the theme (which I think is a nice theme as well – thank you!) and they did not or no longer worked in that area. Let’s call it the ‘callout box’. And I inserted the shortcode that is not working in the callout box into the body of a page and it functioned just fine.

        The shortcode in the callout box area is an ip locator plugin that I found that did not come with the site; default. It worked just fine until uploading the groups and groups extension plugin.

        So weird. And what stinks is that I’ve been searching for another ip locator plugin/geo location plugin to use in that area and haven’t been able to find one just yet. Then, I realized – no shortcodes are going to work in that area which I really need to work because it is part of the ‘presentation/pitch’ of the site.

    • Hi there,

      I ended up inserting the script I needed to work and code via javascript based on a comment from a thread on the GeoLocation plugin’s support page. It worked in this instance. I still have no idea where the conflict is coming from, shortcode wise. If you need me to test anything for you – to find a lasting solution to get the shortcode working again – I’m here to help. If not . . . moving on.

      Thank you!

  • Hi,

    I have a question:

    I want visitor to see a website just when they pay, but I want to limit the access time to let’s say 60 days. There is no renewals or so. When they want to see that page again, they will have to buy it again. Can this Groups extension do this without having to purchase the subscriptions Extension?

    Thanks
    Mario

  • Jaybe

    How about a [shortcode] to display what groups and or capabilities are required to access and view the current post/page/content?

    e.g. When users are viewing single post or page templates, sidebar has shortcode, [groups_content_user_groups], to display something the the effect of the following:

    CONTENT RESTRICTED to:
    - Registered
    – Members
    — Premium
    —- [click HERE to go PLATINUM!!!]

    (ok – the hierarchy and up sell examples are just for fun… but I’m sure you get my point)

    (again, thanks for the awesomeness)

  • Akmal Izzat

    okay I think I’ll buy this plugin to replace the WordPress Membership plugin that I am using right now. But before that, can you tell me how to do these things with your plugin?

    - Create 3 groups (demo, basic & premium)?
    - Restrict pages/post to demo, basic & premium groups?
    - Restrict certain areas in a page/post with shortcode to certain groups?
    - Redirect unregistered/unprivileged users to a no access page?
    - Redirect users to a certain page after they’ve logged out from the site?
    - Can you restrict downloads to registered groups only?

    Thank you!

  • What I don’t understand why there are two plugins. Why don’t just integrate everything in one single plugin?

    Although I know is easy to express opinions and I’m sure you have your own reasons to do it this way.

    It is also not clearly explain in Woothemes what these plugins do and not do separately or together, and where one depends on the other one to do what and what they can actually do an their own.

    I find there is also different ways of getting support for these plugins and from different authors.

    Sincerely I find this confusing.

    You should create a Comparasion Table with all these plugins, explaining what combination of them do you need to do what.

    And also I find it would be fare to sell both together as a combo for a special price.

    I hope this helps

    Thanks

    • Akmal Izzat

      I think he have explained the plugin quite clearly…….

      With Groups (free plugin), you can create unlimited groups that can view certain post/pages/content in your site depending on what you limit on each group

      With WooCommerce (free plugin) + Groups WooCommerce, you can sell membership! And after they have bought a membership, they will be automatically assigned to a group that they belong

      And to sell membership online, you will need WooCommerce (eCommerce system) and Groups WooCommerce (to enables you to sell membership, WooCommerce can only sell normal things that an ecommerce offers)

      hope this helps!

  • Akmal Izzat

    Okay this is frustrating, why aren’t you answering my question?

    I’ve bought the plugin, and I don’t have time to wait for Woo to finish up their party and answer my questions.

    I’ve bought the Groups WooCommerce plugin, and I have a question:

    How to redirect unregistered users to a certain page? Let’s say I have a homepage that is only for premium members, how do I redirect unregistered users to OTHER page instead of the home page? Thank you.

    • Are you referring to the one regarding usage I responded to earlier today? It sometimes takes time to get to respond while I’m busy with new releases :)
      Regarding the redirects I’ve mentioned a plugin that should be helpful for what you want to achieve.

  • Steve

    When setting up a subscription product, the “GROUPS” tab shown in your example does not display in the product data field. This seems to prevent auto allocation of access when anyone buys.

    I’m running groups with woocommerce, subscriptions on the white light theme.

    Am I missing something that prevents it displaying? Having looked around I’ve not seen this issue raised.

    Thanks in advance.

    • That seems odd, maybe a conflict? What other plugins do you have activated please?

      • Arjen

        Hi,

        Was there any solution to this? I have the same problem. The groups tab is not shown in my product edit page as the example in the picture shows.

        I deactivated all plugins exept: WooCommerce, Groups adn Groups for WooCommerce.
        But still no show.

        • Arjen

          I see the tab now: I think the problem was because my folder of woocommerce was not the correct name (it added -1) because of double download).

          thanks

  • Nico van Niekerk

    Do you know of any conflicts that your plugins have with the Linen theme?

  • Jesse

    How do I use the API to add a user to a group?

  • John Coppedge

    Can you limit the number of products someone purchases? For instance, I sell a group membership within a product and I want someone to only be able to purchase one product?

  • HI,

    I am running two installs, one a single and another multipress. I have woocommerce, groups, subscriptions, and will be purchasing woocommerce groups shortly. My main site is on a single install which holds my shop which is publicly available to everyone (run by woocommerce) and some leader content that invites then to delve into the main content areas.

    The main content areas are on a multipress install on a subdomain (i.e. subdomain.maindomain.com. The subdomain is a physical domain, not a wildcard. If they click one piece of leader content, it will send them to the main content area. I am wanting to restrict the content on the multipress install with the main content areas.

    Here are my questions:

    1) Can the groups plugin work across two separate installs?

    2) Is there a way to put a domain block on my subdomain with a message that states that they are required to purchase a subscription and either provide a subscription form on-screen or redirect them to a subscription page on the main site?

    3) When the subscribe / unsubscribe it adds / removes their permissions?

    Thanks in advance for your assistance.

    Manning

    • Hi Manning,
      Regarding #1 that would require a mechanism that essentially synchronizes user and group data across both sides. It’s possible to develop such a mechanism, but you cannot do it OOTB.
      For #2 you would need some custom development based on Groups’ API.
      Yes on #3.
      Cheers

      • Manning

        Hi Kento,

        Thanks for the feedback. I will look into the groups API and what it might take to build a mechanism as you suggested to sync user group data across the domains. Not imperative for my launch but possibly down the road.

        Sorry for the delay in responding. Somehow, I didn’t get notified of your response until now.

        Thanks,
        Manning

  • Estella Vidal

    Hi Kento,

    We find that “Groups” and new WooThemes plugin “Sensei” can’t work together, consequently “Groups for WooCommerce” neither.

    Here is the error from the logs:
    PHP Fatal error: Call to undefined function wp_get_current_user() in /htdocs/wp-includes/user.php on line 209

  • I have Groups, Groups for WC and Subscriptions installed.

    I have one Group with a permission called Premium. When a customer places an order, Woo Subscriptions create the WordPress user and assigns a Role of Subscriber with the Group and permission of Premium. That works great. The problem is that when the customer Suspends or Cancels the order, Woo Subscriptions changes the Role to Customer but the Group and permissions don’t change. Thus still giving the member access to my content. I’m trying to figure out how to set up Groups so that when a customer Suspends or Cancels that the permissions get changed as well. In other words, how to remove the Premium permission automatically. Either that, or how do I set up the Customer Role so that it has no permissions other that to read posts.

    I know I’m missing something really stupid. If you could help, I’d really appreciate it. Oh one more question… do you think that the new version of WooCommerce that’s about to be released will affect your Groups or Groups for WC or your Affiliate extensions? Is it a wait and see thing or do you think your extensions will remain compatible?

    Thanks,

    John

    • Hi John,

      When a subscription is cancelled it does not imply that the user should automatically be removed from a group. The user should remain in the group during the time covered by the last payment. It’s a common misconception and being asked quite frequently. Example: I sign up and pay $15 for a month premium membership, right after that I cancel my subscription. I have still paid for a full month and should have premium access during that time. Once the month is over, my premium membership will end automatically.

      Regarding your other question, the plugins are already tested to work with the new release.

      Cheers

  • shawn

    I know I can assign a page or post to a group to protect access to people who purchased the product with the group attached.

    How do I do this?

    I have WordPress multisite (sub-domain) setup. Each product has its own sub-domain support website.

    I want to protect an entire sub-domain blog by assigning the entire blog a group permission to view.

    That way everything I put on the entire sub-domain blog is only viewable by people who purchase a product on the woocommerce store on the primary site.

    This will be MUCH EASIER than trying to remember to protect every single page/post/forum topic/reply/etc that is ever created on that sub-domain site.

    How can I do this?

    *Seems so simple, but I can’t find where I can input the group permission to an entire sub-domain blog.

    **amember pro does this, but I hate that plugin as it has a totally separate user database. I totally wasted my money buying that amember pro plugin when I can just use your free plugin + the subscription plugin if I can protect a whole site with yours.

    thanks

    • Hi Shawn,

      I’m preparing a plugin that restricts access to blogs based on a user’s membership with the Registered group (could add other groups as an option later). It’s a beta in testing but seems to work quite nicely. The plugin is called Groups Blog Protect and will be made available later (probably during the day).

      From what you explain I think it comes close to what you’re looking for. I’d be happy to put the plugin’s code up on GitHub to facilitate enhancements as well.

      Cheers

    • The plugin has just been released.

  • Hi Kento,

    If I have a site that is selling access to individual posts/pages as products. There may be dozens and dozens of these type products in the store. People will purchase access to these posts/pages. Does that mean I need to create a separate group/capability for EACH product? If so, will that impact performance? Or is there a better way to do this.

    • Hi Frederick,
      You would have to create paired groups and capabilities for each exclusive subset of products in that case. It won’t impact on performance. To give an example:

      Assume pages (= your products): PA, PB, PC, PD

      a) If access to all pages is to be exclusive, create groups A, B, C, D and capabilities a, b, c, d and assign those capabilities to their respective groups. You would create products for each group and sell access to each page individually via its group-associated product.
      b) For subsets you would just group them: create groups A, B, C, D and capabilities a, b, c, d as before but assign multiple groups by product.

      Any doubts or questions please let me know :)

  • Nuria

    Hi Kento,
    Is there any way to get the days left of a membership?

    Thanks!!

  • Thanks Kento… I will dive into configuring this and let you know if I hit any snags. Thanks for writing this plug-in.

    Frederick

  • I was wondering if it was possible to use the Groups+WooCommerce setup to restrict the ability to actually PURCHASE an item (or add it to your cart), rather than restrict access to the page itself. One of my clients sells products that she only wants licensed cosmetologists buying, so I was thinking that after she vetted someone’s credentials she could add then to an “approved” group and that would allow them to make the purchases. She wants everyone to be able to SEE the products and prices themselves, because she has to incentives people jumping through the hoops of sending their credentials to her, but she doesn’t want them purchasing until they’ve been approved. After scouring the WC extensions, it seems like Groups is the best way to pull this off, but I’m not sure if it’s an available option. What say you?

    Thanks!

    • Hi,
      Yes that’s possible, you can restrict access to products with Groups very easily. Just use the Access restrictions box on products as with any other post type. You can either use the default groups_read_post capability which you need to assign to the group that should be able to access those products, or define a new capability if needed and enable it in Groups > Options for access restriction.
      Cheers

  • Ed

    Hello,
    I am using Groups for WooCommerce selling access to an online course by restricting access to those pages. I sell this access in 30, 60 and 90 day blocks using the groups duration feature.

    On special request can I manually extend the expiration date any way?

    I have experimented a little by adding Subscriptions but get kind of a messy pricing scheme, currently the 90 day access is priced at $99 without subscriptions and with subscriptions it forces me to sell 3 months at $33 per month instead of a flat $99 and even then didn’t see a way to extend a subscription.
    Thanks in advance!

    • Hi Ed,

      Do you refer to the time-limited membership that Groups WooCommerce offers, or are you using real subscriptions with WooCommerce Subscriptions? I don’t think you can do it with the latter directly (but I would ask on WooThemes to make sure, it might just have escaped my attention), with the time-limited subscriptions you won’t be able to extend them directly either, but as a solution, you could give restricted access to a product to group members and let them purchase extended access at a lower price.

  • Ed

    Hi Kento,
    First, Thanks for the great plugins and your support.

    I am using Groups WooCommerce and not subscriptions. I set the duration length under the group tab when editing the product. ( I have only 3 products and groups- 30 days, 60 days, and 90 days)

    Would changing the order date under WooCommerce>Orders change the expirations date?

    In these few cases I don’t want to charge them anything, just extend their access as a courtesy.

    Along your idea, I could create a new product (keeping it hidden from the public) for say 10 days of access for $0, then go to their user account, change their password ( since I can’t see it) Buy the 10 days of access for them and inform them of their new password. A little awkward but it doesn’t happen that often.

    If you have any better idea of how to manipulate the expiration or start date that would be great.
    Thanks,
    Ed

    • Thanks a bunch Ed, that’s really kind, trying to do my best to help :)

      It’s simpler in that case, create a product that grants access for free and assigns to the group(s), create a capability that you enable for access restriction and protect the free product with that. Then create a new order from the back end, assign it to a user for whom you wish to extend membership, add the product, mark as completed, finished.

  • Hi, im in the design process of a website for a friend who owns a magazine company. The idea is to setup the site so we can offer people to subscribe to posted (normal mailed) copies of the magazine over say 6 or 12 months.

    Additionally, we need an online solution so people can subscribe for a certain amount of months and be granted access to an online version of the magazine (either online or downloadable) Im thinking online would be safer.

    Would this solution cover all basis for this setup? I have used Woocommerce quite a bit in the past, but never to this level.

    Your help and advice is appreciated in advance.

    Steve

    • Hi Steve,

      Basically yes, you might want to have a look at the WooCommerce Subscriptions extension as well, in case you want clients to be able to subscribe indefinitely. Otherwise you can just use the time-limited memberships that it provides.

      If you are going to provide an online version of the magazine, Groups can help you to protect the content.

      Please feel free to ask more if needed.

      Cheers

  • Thanks for the reply Kento. I have just begun chatting to the Woo gents RE the subscription module. They seem to think this module on its own might be enough for what i need. I would have though that the memberships module would be a must in addition to the subs plugin in order to define paid members (and the related content) over site guests?

    Am i right in thinking this?

    • They rather complement each other for certain use cases, Groups WooCommerce offers an alternative when you don’t need real subscriptions but want to offer time-limited memberships.

  • I’m having problems with the Woocommerce Groups plug in- with it installed, My plug-ins page does not load. I’ve download version 1.3.4 from Woo but I still cannot get it to work? Help?

    • Is this still an issue Frederick?

      • This is no longer an issue. The problem was that I’d recently migrated my site to a different location on the server (HostGator). But needed to increase the WordPress memory allocation. Once I did that the problem vanished.

        Thanks for responding.
        Frederick

  • Julius Wulf

    Hi Kento,

    I have a question regarding the time-limited membership that Groups WooCommerce offers. Is there a way for me to add custom dates for expiration? I need subscriptions to expire twice a year on set dates…

    • Julius Wulf

      Or to be more specific, I am selling subscriptions to semesters. semester one subscriptions needs to end on 30 June, while semester 2 needs to end on 31 December regardless of sign up date.. The products are variable products -> on the product detail page the user will choose semester one or two…

    • Hi Julius, no that is not possible.

  • Julius Wulf

    Hello,

    Guys I need to create 400+ capabilities, and need to create 400+ groups and assign the new capabilities to them. Is there a another way to do this other than doing them one by one?

  • Can groups woocommerce extension protect access to vbulletin forums? if so, is there any instruction on how that might be done?

    • antonio

      Hi,
      Groups protect wordpress system, sincerely we are not sure if it can protect vbulletin information. You can try it and you’ll tell us.

      cheers

  • Ryan

    I’m using Woo groups and Woo subscriptions to sell a subscription with a sign up fee, 1 month free trial then a recurring 3 month subscription. The way things are set up I currently I need to manually mark each subscription as completed before a user gains access to the content they purchased. Is there a way to grant users access automatically when they make their purchase?

    • The user is added to the groups when the subscription is activated, do you see the order as processing after placing it?

      • Ryan

        Seems like I must of just been testing something wrong as its working fine now. Thanks for the quick response.

          • Ryan

            Another question using the same product format as before Woo Groups & Subscriptions with sign up fee, 1 month free trial, then recurring subscription every 3 months with length forever.

            I’m having issues testing how permissions work when a user cancels their subscription which I assume a lot my users may do just as a way to turn-auto renew off. Currently if a user cancels their subscription right after making their purchase their role goes from subscriber to customer and they maintain their group access (this is good they should maintain access). However, there is no way for a user to see when said access will expire. I assume it would be removed on the trial end date but would appreciate if you could confirm this.

            Another case is if the user cancels in the middle of a 3 month subscription period. Will the group access end at the end of the 3 months?

            Ideally I’d like to just have basic auto-renew on/off functionality instead of cancel/renew but that is not possible currently, correct?

            Thanks!

          • Hi Ryan,

            I’ll try to add options to show information about the subscriptions to the updated release I’m preparing. This would allow to show group membership in user profiles or using a shortcode.

            When a user cancels a subscription, the membership will remain in place until the period that has been paid for ends. With the 3 month subscription period for example, if you subscribe and cancel after a month, you would still have access for another two months.

            I’m not sure what you mean by auto-renew though … like putting a subscription on hold?

            Cheers

  • When creating a new subscription with the woocommerce subscriptions plugin and with the groups and groups for woocommerce plugin/extension, I am able to set a duration for the group (which would typically be set to the length of the subscription). I left this blank when creating my first subscription, then I manually created a subscription for a user. I set the order date to a year past and the subscription to be a yearly one. This created an expiration date of expired, which is what I wanted. I noticed, though, that the group assignation was not removed for the customer although the subscription was set to expired. I then realized that it must have to do with the group duration time frame. I went to edit the product and noticed that the group duration option was no longer available. I then tested the creating of a new subscription product and the group duration period was available there. So, the group duration period is able to be set when a new product is created, but once the product has been created, the group duration period is uneditable. How can I edit this after a product is created?

  • Steve

    Hi,

    I have come across an issue where if a user buys a subscription but doesn’t go through the payment process they have an option to ‘reactivate’ their subscription. If they click this they have access to the restricted page without paying. Have you come across this before?

    Thanks for your help!

  • Aryan

    Just removing notifications of posts on this commentary

  • Steve

    Hi,

    After a few more tests I think this has something to do with the subscription plugin rather than the groups plugin. Thanks for getting back to me anyway.

  • Melissa

    I would like to tie into the method that is fired to add a user to a particular Group based on product purchased. I need to take this a step further and also assign a certain role to that user based on their group type. I figured I could do this in the php where the user is assigned the group. Can you please tell me which file I would want to incorporate this change? Thanks! And happy friday, Melissa

    • antonio

      Hi,
      you can use “groups_created_user_group” and “groups_deleted_user_group” hooks, to handle this, and create your own plugin or in theme’s function.php. For example:

      add_action( 'groups_created_user_group', 'my_groups_created_user_group', 10, 2 );
      add_action( 'groups_deleted_user_group', 'my_groups_deleted_user_group', 10, 2 );

      function my_groups_created_user_group( $user_id, $group_id ) {
      .....
      }
      function my_groups_deleted_user_group( $user_id, $group_id ) {
      .....
      }

      cheers

  • I’m seeing an issue with users being removed from groups after woocommerce subscription expires. Upon expiration, the user account gets moved to the appropriate role, but the group permissions aren’t being removed. I’ve checked all settings many times: product setup, woocommerce Groups setting, etc. Do you have a suggestion for troubleshooting this issue?

  • nmonoteam

    Hello ,
    thank you for this cool Plugin, its working great.
    i would like to hide/ disable cart Button additionally present a message (you allready bought this product) for users who already are in the group they would get added to if the would buy the product, for example users who already bought the product or are added/assigned manually to the group by admin.
    Is this possible, and how?

    Hope its understandable what i mean.
    Thanks in advance

    BTW: i purchased your Plugin via woothemes Shop so i cannot access :( your groups support forum. Same with Groups File Plugin via Codecanyon. Maybe you can add my user to the support forum of this 2 plugin.

    • Hi there,

      You could edit the template and check if the user is in the product’s group, see this comment for a starting point.

      You’re welcome to post your questions here and on the page for the GFA plugin, the plugin pages are the support pages for these :)

      Cheers

Leave a comment

Your email address will not be published. Required fields are marked *

*


2 + six =

Please follow the Support guidelines.

Premium Support is available for customers in the Forums.