Need module development: purchasing access to Organic Groups

4 replies [Last post]
Joined: 10/20/2007
Juice: 483

We're looking for someone to code a UC module (D6) to allow purchasing of access to an OG group. No, not via roles, since we're talking about many dozens of groups. Upon creating/editing a product, the administrator should be able to add one or more groups (via the Features in UC, I would assume) that the user would become a member of upon successful checkout with that product.

Code should of course be contributed back to the community Smiling

Please PM or contact via form: http://www.topnotchthemes.com/contact

Joined: 02/20/2008
Juice: 36

After reading your post, I started writing this module.

When installed, at the edit of a product node, you will find a local task 'Group subscribe'. You can select the groups you want the member to be subscribed to after purchasing this product.

With conditional actions, you have to create a new predicate with trigger 'Customer completes checkout' and action 'Subscribe to the groups ordered'. When a customer completes the checkout of the product, he will be member of the groups selected.

Let me know if this is ok for you or you want something extra.

Greetz

Dieter

AttachmentSize
uc_og_subscribe.zip 3.57 KB
Joined: 10/20/2007
Juice: 483

Thanks again for working on this Smiling

I haven't yet tested the functionality thoroughly, but I took a look at the product node options and action. One issue I see is that it is a blanket group setting for the product, rather than the SKU. For example, for File Download, it is a "Feature" added to the product, under which you can choose the specific SKU (or all SKUs) that it applies to. This allows you to have different SKUs for different attributes, which could affect the desired group membership. I would think this feature makes sense as a product "Feature" that behaves in the same way as product file downloads.

Joined: 11/18/2008
Juice: 204

Would there be a 1-1 product-groups relationship?

Or could the creator of the product add a set of groups that would appear in a drop down attribute listing all the groups in that sub set as options, so the customer could select which group the wanted to join? Maybe leveraging the sub group module for OG?

Joined: 11/18/2008
Juice: 204

just linking to
http://drupal.org/project/uc_og_subscribe

and some brainstorming on managing a large number of groups:
http://www.ubercart.org/forum/support/15829/practical_advice_setting_lar...