=== Rudrastyh Assign Roles on Product Purchase for Woocommerce ===
Contributors: rudrastyh
Tags: woocommerce, user roles, products, customers
Requires at least: 6.5
Tested up to: 7.0.2
Requires PHP: 7.4
Requires Plugins: woocommerce
Stable tag: 1.0
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Assign one or more user roles when a customer purchases configured WooCommerce products.

== Description ==

The plugins adds a simple settings page in WooCommerce > Settings > Products > Assign roles on product purchase, where you can specify, which roles should be assigned to customers upon purchasing selected products (or variations).

Unlimited conditions are supported.

== Installation ==

1. Upload the plugin folder to `/wp-content/plugins/` or install the ZIP through Plugins > Add New > Upload Plugin.
2. Activate the plugin.
3. Open WooCommerce > Settings > Products > Assign roles.
4. Add product and role conditions, then save changes.

== Frequently Asked Questions ==

= Does the plugin work for guest orders? =

No, it does not. A WordPress user account is required in order to assign a role.

= Does assigning a role remove existing roles of the customer? =

No. The selected role is added while existing roles are preserved.

= Can I select a product variation? =

Yes. The product search supports products and variations.

== Changelog ==

= 1.0 =
* Initial release.
