Support Forum

Advanced Search
Forum Scope


Match



Forum Options



Minimum search word length is 3 characters - maximum search word length is 84 characters
general-topic
WooCommerce/Groups Support?
Avatar
JohnD
Member
Free Members
sp_UserOfflineSmall Offline
Sep 12, 2014 - 9:15 am

I know there's support built into Simple:Press to use WP user roles allowing for segregation of membership levels, but WooCommerce's subscriptions platform integrates with WP Groups which Simple:Press doesn't seem to have access to... am I missing something or is this the case? If so any thought on including it in future versions.

Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
Sep 12, 2014 - 9:46 am

The two first things are that (1) I have not encountered 'wp groups' before and (2) I know we have quite a few users utilising woocommerce...

I assume by 'wp groups' you mean the WP plugin that is named 'groups'. If so are you 100% sure that this plugin is not creating WP style 'roles' under the hood?

andy-signature.png
YELLOW
SWORDFISH
Avatar
JohnD
Member
Free Members
sp_UserOfflineSmall Offline
Sep 12, 2014 - 9:55 am

Yes - that's the plugin I'm referring to sorry for the confusion. I very possibly could be implementing things incorrectly, but what's happening is I can create "groups" which appear next to the WP roles in my users menu. When they sign up for a subscription on the site they are placed into a group, but given the role of subscriber no matter what group they are filtered into. Throughout the WP side I can use the different groups to limit content, but Simple:Press doesn't recognize these groups, only roles, and as everyone is filtered into the subscriber role I have no way to filter them on the Simple:Press side.

Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
Sep 12, 2014 - 10:01 am

But Simple:Press has absolutely nothing to do with - nor has any effect on - the creation of new users. This is performed by WordPress and possibly whatever other plugins you may have that have a bearing on the operation.

Simple:Press is not assigning new users the Wp role of subscriber... WordPress is doing that.

This also doesn't answer my question which was - is this Groups plugin creating WP style roles under the hood - i.e., creating new 'roles' to match it's concept of 'groups'. It would be the obvious thing to do and would save them having to rewrite and reconstruct a lot of standard WP processing.

andy-signature.png
YELLOW
SWORDFISH
Avatar
JohnD
Member
Free Members
sp_UserOfflineSmall Offline
Sep 12, 2014 - 10:28 am

I understand that WP controls the roles.

As far as I know the plugins by Woocommerce and Groups are working as intended. Woocommerce tells wordpress which WP user-role a user gets upon purchasing a product on the site (I have this set to subscriber), the subscriptions plugin that Woocommerce uses works with the Groups plugin to assign a user to a group (created by the Groups plugin) based on the subscription that they are purchasing. So a user belongs to both a role and at least one, but possibility multiple, groups based on their purchases.

To answer your question more specifically. The Groups plugin does not appear that they create WP user roles. I'm not exactly sure how I'd confirm this, but when I navigate to the "users" menu in the WP admin I see the WP user roles Admin, Editor, Subscriber etc then next to all the roles are "Groups" that I've created using the plugin. There's the standard WP option to add/remove users to various roles AND a new option that allows manual addition/removal from the various Groups. 

Within the groups plugin I have the ability to apply any WP capability as well as create my own, but I haven't done anything here as of yet.

Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
Sep 12, 2014 - 10:38 am

Forum admin > User Groups > Map User to User Groups. Does your 'groups' appear in the list?

andy-signature.png
YELLOW
SWORDFISH
Avatar
JohnD
Member
Free Members
sp_UserOfflineSmall Offline
Sep 12, 2014 - 10:39 am

Yellow Swordfish said
Forum admin > User Groups > Map User to User Groups. Does your 'groups' appear in the list?

No. This is - I suppose - the route of the question I'm trying to ask.

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Sep 12, 2014 - 11:26 am

sounds like woo commerce is not creating a true wp role then...  any valid wp roles are listed there...

this is a pre-membership question forum, so for more detailed discussion on your local issue, please open a topic in the members support forum...

wait, since you are a member, I am going to move this into the standard support forum and continue discussion there...

Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
Sep 12, 2014 - 11:33 am

(It's not really a support question Steve)

John: I will at least take a look at this Groups plugin. i see it is quite popular so it is at least worth our time to see how easy it would be to support it and whether it would be worthwhile.

andy-signature.png
YELLOW
SWORDFISH
Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Sep 12, 2014 - 1:04 pm

nor was it s a pre-membership query ;)

Forum Timezone: Europe/Stockholm
Most Users Ever Online: 1170
Currently Online:
Guest(s) 1
Currently Browsing this Page:
1 Guest(s)
Top Posters:
Mr Papa: 19448
Ike: 2086
Brandon: 864
kvr28: 804
jim: 650
FidoSysop: 577
Conrad_Farlow: 531
fiddlerman: 358
Stefano Prete: 325
Member Stats:
Guest Posters: 619
Members: 17361
Moderators: 0
Admins: 4
Forum Stats:
Groups: 7
Forums: 17
Topics: 10127
Posts: 79625