Linux 软件免费装

Rudrastyh Assign Roles on Product Purchase for Woocommerce

开发者 rudrastyh
更新时间 2026年7月23日 18:16
PHP版本: 7.4 及以上
WordPress版本: 7.0
版权: GPLv2 or later
版权网址: 版权信息

标签

woocommerce products customers user roles

下载

1.0

详情介绍:

Rudrastyh Assign Roles on Product Purchase for Woocommerce adds a small settings section under WooCommerce > Settings > Products > Assign roles. Create conditions by selecting a product and a user role. When a logged-in customer purchases that product and the order reaches Processing or Completed status, the configured role is added to the customer's account.

安装:

  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.

常见问题:

Does the plugin work for guest orders?

No. A WordPress user account is required in order to assign a role.

Does assigning a role remove the customer's existing roles?

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

Can I select a product variation?

Yes. The product search supports products and variations.

更新日志:

1.0.0