• Resolved Steve Borsch

    (@sborsch)


    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-4 requires custom functions. It therefore makes it virtually impossible for the client shop manager to add a new product—and designate the level the purchaser should be assigned—without contacting us to modify the functions.

    There is a somewhat old, and lightly used plugin called, “PurchaseRoles” (https://wordpress.org/plugins/purchaseroles/) that adds a meta box for WooCommerce product role addition. The problem is that ALL roles are selectable (e.g., administrator, editor) 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 so you’d test to see if WooCommerce was running and, if it is, provide an option to add a meta box to (upon purchase of that product) dynamically change that product purchaser’s role to an S2Member role and only display S2Member roles and make only those roles selectable.

    BTW, S2Member just gets more awesome over time.

    https://wordpress.org/plugins/s2member/

Viewing 6 replies - 1 through 6 (of 6 total)
Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘FEATURE REQUEST: Change Role on WooCommerce Product Purchase’ is closed to new replies.