How to Restrict Certain Options by User Roles?

Restricting Options by User Roles 

To restrict certain options by user roles using the WooCommerce Product Option and Fields plugin, you can apply user role settings using the below steps:

Go to Products > Products Add ons > Add New Add on > User Roles.

User Roles: If you want to show add-ons to specific users, select a user role from the drop-down menu (Leave it empty if you want to show add ons to all users).

  • Administrator
  • Editor
  • Author
  • Contributor
  • Subscriber
  • Customer
  • Shop manager
  • Wholesale
  • B2B
  • Retailer
  • Guest 

Save the add-on.