{"id":343555,"date":"2026-07-23T10:01:47","date_gmt":"2026-07-23T10:01:47","guid":{"rendered":"https:\/\/wordpress.org\/plugins\/rudrastyh-roles-on-product-purchase-for-woocommerce\/"},"modified":"2026-07-23T10:16:43","modified_gmt":"2026-07-23T10:16:43","slug":"rudrastyh-assign-roles-on-product-purchase-for-woocommerce","status":"publish","type":"plugin","link":"https:\/\/de.wordpress.org\/plugins\/rudrastyh-assign-roles-on-product-purchase-for-woocommerce\/","author":10980640,"comment_status":"closed","ping_status":"closed","template":"","meta":{"version":"1.0","stable_tag":"1.0","tested":"7.0.5","requires":"6.5","requires_php":"7.4","requires_plugins":null,"header_name":"Rudrastyh Assign Roles on Product Purchase for Woocommerce","header_author":"Misha Rudrastyh","header_description":"Assigns any WordPress role when a customer purchases a selected WooCommerce product.","assets_banners_color":"","last_updated":"2026-07-23 10:16:43","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"","header_author_uri":"","rating":0,"author_block_rating":0,"active_installs":0,"downloads":148,"num_ratings":0,"support_threads":1,"support_threads_resolved":1,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":{"1.0":{"tag":"1.0","author":"rudrastyh","date":"2026-07-23 10:16:43"}},"upgrade_notice":[],"ratings":[],"assets_icons":[],"assets_banners":[],"assets_blueprints":{},"all_blocks":[],"tagged_versions":["1.0"],"block_files":[],"assets_screenshots":{"screenshot-1.gif":{"filename":"screenshot-1.gif","revision":3619786,"resolution":"1","location":"assets","locale":"","width":2170,"height":1290}},"screenshots":[]},"plugin_section":[],"plugin_tags":[7619,702,11917,286],"plugin_category":[45],"plugin_contributors":[173152],"plugin_business_model":[],"class_list":["post-343555","plugin","type-plugin","status-publish","hentry","plugin_tags-customers","plugin_tags-products","plugin_tags-user-roles","plugin_tags-woocommerce","plugin_category-ecommerce","plugin_contributors-rudrastyh","plugin_committers-rudrastyh"],"banners":[],"icons":{"svg":false,"icon":"https:\/\/s.w.org\/plugins\/geopattern-icon\/rudrastyh-assign-roles-on-product-purchase-for-woocommerce.svg","icon_2x":false,"generated":true},"screenshots":[{"src":"https:\/\/ps.w.org\/rudrastyh-assign-roles-on-product-purchase-for-woocommerce\/assets\/screenshot-1.gif?rev=3619786","caption":""}],"raw_content":"<!--section=description-->\n<p>The plugins adds a simple settings page in WooCommerce &gt; Settings &gt; Products &gt; Assign roles on product purchase, where you can specify, which roles should be assigned to customers upon purchasing selected products (or variations).<\/p>\n\n<p>Unlimited conditions are supported.<\/p>\n\n<!--section=installation-->\n<ol>\n<li>Upload the plugin folder to <code>\/wp-content\/plugins\/<\/code> or install the ZIP through Plugins &gt; Add New &gt; Upload Plugin.<\/li>\n<li>Activate the plugin.<\/li>\n<li>Open WooCommerce &gt; Settings &gt; Products &gt; Assign roles.<\/li>\n<li>Add product and role conditions, then save changes.<\/li>\n<\/ol>\n\n<!--section=faq-->\n<dl>\n<dt id=\"does%20the%20plugin%20work%20for%20guest%20orders%3F\"><h3>Does the plugin work for guest orders?<\/h3><\/dt>\n<dd><p>No, it does not. A WordPress user account is required in order to assign a role.<\/p><\/dd>\n<dt id=\"does%20assigning%20a%20role%20remove%20existing%20roles%20of%20the%20customer%3F\"><h3>Does assigning a role remove existing roles of the customer?<\/h3><\/dt>\n<dd><p>No. The selected role is added while existing roles are preserved.<\/p><\/dd>\n<dt id=\"can%20i%20select%20a%20product%20variation%3F\"><h3>Can I select a product variation?<\/h3><\/dt>\n<dd><p>Yes. The product search supports products and variations.<\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>1.0<\/h4>\n\n<ul>\n<li>Initial release.<\/li>\n<\/ul>","raw_excerpt":"Assign one or more user roles when a customer purchases configured WooCommerce products.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/de.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/343555","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/de.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/de.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/de.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=343555"}],"author":[{"embeddable":true,"href":"https:\/\/de.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/rudrastyh"}],"wp:attachment":[{"href":"https:\/\/de.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=343555"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/de.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=343555"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/de.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=343555"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/de.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=343555"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/de.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=343555"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/de.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=343555"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}