How to Hide Prices for Non-logged-in Users in WooCommerce?

Hiding Prices for Non-logged-in Users

Using the WooCommerce Role Based Pricing plugin, you can hide prices for non-logged-in users for selected products and categories.

Go to Role Based Pricing > Hide Price and enable the feature to hide price and add to cart button for the specific products and categories.

  • Enable Hide Price & Add to Cart: Allow the functionality to hide price and add to cart button
  • Hide for Guest Users: Checkmark to hide price and add to cart button for guest users
  • Hide Price: Checkmark to hide the price on the archive and product pages. However, the price will be visible in the cart. 
  • Price Text: Enter a custom text to show in place of the price on archive and product pages

By checking this option, the price will be hidden from users who are not logged in to their accounts.

Click on “Save Settings” to apply the functionality.