xpay✦ Commerce
Directory
WooCommerce plugins
Membership & User Roles for WooCommerce (Automatic Role Changer)
Membership & User Roles for WooCommerce (Automatic Role Changer)
Sync user roles with memberships and subscriptions. Grant access on purchase, revoke on expiry, and restrict your store by role.
4.3
(6 ratings)Will this break my store?
What the WordPress.org registry says about keeping Membership & User Roles for WooCommerce (Automatic Role Changer) running.
Tested to 7.0.2
Tested against the WordPress branch in use today.5 days ago
At least 3.7 releases a year since launch. WordPress.org only lists versions still available for download, so the real number may be higher.8.0
Your host must be running at least this version.3.1
1
A single maintainer. Worth knowing if the plugin is load-bearing for your store.Maintenance & trust
Scored on how Membership & User Roles for WooCommerce (Automatic Role Changer) is looked after — not on how many stores run it.
85
out of 100Maintenance
35 / 35WordPress compatibility
20 / 20Support responsiveness
Not enough dataMerchant satisfaction
10 / 15Listing transparency
3 / 10Ratings
4.3
6 ratingsSync user roles with memberships and subscriptions. Grant access on purchase, revoke on expiry, and restrict your store by role.
Overview
The Membership & User Roles for WooCommerce plugin automates the assignment of user roles based on product purchases. This powerful tool streamlines store management by ensuring users are automatically assigned the appropriate roles, enhancing membership sites, subscription-based models, and more.
It also bridges MemberPress to WordPress roles: a membership’s state drives the role, continuously, so access granted in MemberPress is reflected wherever your site checks roles.
Features
-
Automatically assign roles to users upon product purchase.
-
Integrates seamlessly with WooCommerce.
-
Syncs MemberPress membership state to WordPress roles, continuously — the direction other integrations don’t cover. The free version syncs one membership level.
-
Premium: Supports the definition of different roles for variations in variable products.
-
Premium: Allows defining, per product, a role validity period in days after the purchase, so the role granted in the purchase will be automatically removed after that period.
-
Premium: Supports role management tied to subscription products, supporting WooCommerce Subscriptions, YITH WooCommerce Subscription and WP Swings Subscriptions for WooCommerce.
-
Premium: Allows defining multiple roles per product.
-
Premium: Unlimited MemberPress levels, several roles per membership, and mapping of every membership state (pending, active, suspended, cancelled, expired).
-
Premium: Restricts your store by role — hides products and categories from the catalog and search, denies direct URL access, blocks add-to-cart, and sets per-role prices, payment gateways and shipping methods.
-
Premium: Retroactive sync — a batched admin tool that aligns the roles of members who already existed before the mapping was configured. Safe to re-run.
Configuration
Setting Up Role Assignments
-
Edit a product from your catalog.
-
Choose the role (or several roles PREMIUM) to assign when the product is purchased.
-
Premium: Define a role validity period in days after the purchase.
-
In WooCommerce > Settings > Role Changer you can configure advanced settings to fine-tune role assignments, such as defining if the new role must be added to the user, or if the new role should just replace the previous one.
-
Save changes.
Premium Features
Define Role Validity Periods
The premium version allows defining a role validity period in days after the purchase. The role granted in the purchase will be automatically removed after that period.
Manages roles following the lifecycle of subscription products
The premium version supports advanced functionality for subscription products, supporting WooCommerce Subscriptions, YITH WooCommerce Subscription and WP Swings Subscriptions for WooCommerce, assigning roles based on subscription status:
-
Active: Assigns a role when a subscription is activated.
-
Suspended: Updates the user role if a subscription is suspended, or is waiting for renewal.
-
Cancelled: Removes or changes roles when a subscription ends.
How to Enable
-
Purchase the premium version of the plugin via the official site
-
Upload and activate the premium plugin.
-
Navigate to WooCommerce > Settings > Role Changer.
-
Enable subscription-based role assignments.
Frequently Asked Questions (FAQs)
1. What happens if a user purchases multiple products with different role assignments?
The plugin can be configured to add roles, or to replace roles.
- If the plugin is configured to replace roles, the user will remain with the last-assigned role.
- If the plugin is configured to add roles, all the roles will be assigned to the user. We recommend using a plugin like “Members” to manage multiple roles per user.
2. What happens if a user purchases a product granting a role several times?
In the Premium version, the validity period for a purchase is added to the previously existing one.
3. Can I assign multiple roles to a single product?
In the Premium version you can assign multiple roles. Users will gain all assigned roles upon purchase.
4. How do I upgrade to the premium version?
Visit the official plugin page to purchase the premium version. After purchasing, install and activate it like the free version.
Troubleshooting
Common Issues
Issue: Role changes are not applied after purchase.
Solution: Ensure the plugin is activated and configured correctly under WooCommerce > Settings > Role Changer.
Issue: Subscription-based role changes are not working.
Solution: Verify that the premium version is installed and active.
Issue: Conflicts with other plugins.
Solution: Disable other role management plugins to check for compatibility issues.
Support
For support, visit the plugin support forum.
License
This plugin is distributed under the GNU General Public License v3. For details, refer to the license file included with the plugin.
Credits
Author: David Marín Carreño
Categories
Plugin details
Tags on WordPress.org
