• I’m setting up a web-site that sells access to content. I’ve seen other sites, using the Groups plugin along with WooCommerce, sell subscriptions to their content that allows 5, 10, 20, 25, etc. number of user accounts to be created and distributed at the whim of the person paying for the bulk subscription.

    I assume that this is achieved by creating a Group with access to restricted site content, and allowing a paying subscriber to create, change, and remove a fixed number of users to that Group.

    I am not sure how to limit the total number of members in a Group. Any thoughts?

    Ideally, someone would purchase a bulk subscription, login to my site, and dole out accounts that allow access to my content as needed. Upgrading to add more accounts and downgrading to remove the number of accounts should also be part of the deal.

    Does Groups have something like this capability already?

Viewing 1 replies (of 1 total)
  • Hi,

    Groups WooCommerce gives you the ability to sell subscriptions in retail. The end user/subscriber visits the site and buys the product that is set to start a new or end an existing subscription( add to a group, remove from a group). For the subscription you can also set a duration( minutes, hours, weeks, months, years ). If you have seen it running on a site and offering bulk subscriptions, then this might be done by a custom addon. A new user becomes a group subscriber after buying the subscription product and unsubscribes automatically after the period set is over, so there is no reason( at least one i can think of) why you should use a middleman that will handle subscriptions.

    Regarding group user limitation, at the moment this can be done manually as described here. The site administrator can go to Users choose the desired group and filter the results to show only those group users. In the same page the admin can add/remove user(s) to/from a group. Once the group limit is reached, the admin may choose to stop selling that specific subscription.
    Another way to keep track of the subscribed users, would be to take advantage of the action hook groups_created_user_group, so that every time a new user is added, you can count the sum and for example send an email to the administrator, or make the product not purchasable with the WooCommerce filter woocommerce_is_purchasable.

    Kind regards,
    George

Viewing 1 replies (of 1 total)
  • The topic ‘Limit number of members in group’ is closed to new replies.