Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
FEATURE REQUEST: Change Role upon WooCommerce Product Purchase #876
Numerous clients of ours use WooCommerce for all of their ecommerce needs and, because we've standardized on it, S2Member for their "member" areas and protecting content.
But setting up a WooCommerce product purchase that will change the user's role — from the WooCommerce default "customer" to the appropriate Levels 1-x — requires custom functions. It therefore makes it virtually impossible for the client shop manager to add a new product—and designate the level a purchaser should be assigned—without contacting us to add/edit/modify the functions.
There is a somewhat old and lightly used WP plugin called "PurchaseRoles" that adds a meta box to a WooCommerce product and enables specifying a user role by a WooCommerce shop manager. The problem is that ALL roles are selectable (e.g., administrator, editor, etc.) so we can only use this plugin on sites where we are 100% certain the shop manager is fully trusted or is the actual business owner.
It would be GREAT to have this functionality as a built-in capability within S2Member, testing to see if WooCommerce was running and, if it is, provide an option to add a meta box to a WooCommercre product that would then dynamically change that product purchaser's role to an S2Member role. Of course, it should only display S2Member roles and make only those roles selectable by a shop manager or above.
BTW, S2Member just gets more awesome over time.
@Lifeischoice 'New' features are not something that we are currently in search of for this plugin. s2Member is already a mature membership platform that provides a very large set of features that we maintain for compatibility with WordPress Core, with payment gateways, protocols, and other plugins. In terms of 'new' features, you can check out additional plugins that we are actively working on at https://wpsharks.com.
@raamdev Thank you for the clarification. While s2member is mature and still one of the best membership plugins out there, my opinion is that, if it is no longer being actively developed, your existing users and potential new users should be pre-informed so that they can make a more intelligent decision based on whether a plugin is being actively developed or not...In any case, I have no doubt that your new plugins will be as robust and as successful as s2member...just my 2 cents.