How to Grant Additional User Role for Specific Product Purchases in WooCommerce?

Granting Additional User Role for Specific Product Purchases

Here’s a step-by-step guide on how to grant an additional user role for specific product purchases in WooCommerce using the Automatic Role Changer:

Navigate to your WordPress Admin Panel.

Go to “Automatic Role Changer” in the WordPress Admin Panel.

Choose “All Rules” from the options available.

Click on the “Add New Rule” button to define a new rule.

Define Gain Role:

Under “Gain Role,” choose either:

  • “Enable this for switch to single user role” if you want to change the user to a single role.
  • “Enable this for assign multiple user roles” if you want to assign multiple roles.

Select Trigger Condition:

Under “When Will,” choose the condition that triggers the user role change. For this scenario, select “User Purchased a Specific Product.”

Specify Triggering Product: In the “Choose Products” section, define the specific product(s) that will trigger the user role change.

Specify Products Matching Criteria: If needed, use the “Products Matching” section to specify additional conditions for when this role change should occur.

Save Rule Settings:

After configuring the rule, click “Publish” to save the settings.

By following these steps, you’ll be able to set up a rule that grants an additional user role when a specific product or products are purchased in WooCommerce using the Automatic Role Changer plugin.