How to Restrict Price Visibility by User Role?

Restricting Price Visibility by User Roles

Target specific user roles to restrict price visibility by user roles. Use the WooCommerce Hide Price and Add to Cart plugin to apply restrictions: 

  • Go to WooCommerce > Hide Price.
  • Here, you can restrict price visibility when creating a new rule or editing an existing one.
  • While adding a new rule, customize rule settings. Choose a Rule Type as “Rule for Registered Users” to restrict by user roles.
  • In the “Rule for User Roles”, you will see a list of user roles available on your website. Select the user roles for which you want to hide prices.
  • Save the changes, and the prices will be hidden for the selected user roles. 

Only logged-in users with different roles will be able to see the prices and add products to the cart.

Below is the list of user roles you can choose from:

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