1. Home
  2. Knowledge Base
  3. WooCommerce Wholesale Prices Premium
  4. Wholesale Pricing
  5. How to Hide Prices For Not Logged In Customers/Guests
  1. Home
  2. Knowledge Base
  3. WooCommerce Wholesale Prices
  4. Wholesale Pricing
  5. How to Hide Prices For Not Logged In Customers/Guests

How to Hide Prices For Not Logged In Customers/Guests

Some shop owners would like to hide the prices in their shop from guests users to make it exclusive for logged-in customers only, such as your wholesalers.

You can enable this feature by going to Wholesale > Settings > Wholesale Prices > Price > then enabling the “Hide Price and Add to Cart button” option. When enabled, it’ll hide the price and add to cart button for visitors.

By default, it’ll display the text: Login to see prices. If you like, you can change this to suit your preferences in the Price and Add to Cart Replacement Message option. For example:

Use “Price and Add to Cart Replacement Message” to replace the default text when hiding the price and add to cart button
The custom “Price and Add to Cart Replacement Message” in the single product page

Frequently Asked Questions

How do I hide prices from guest visitors on my wholesale store?
To do this, go to Wholesale > Settings > Wholesale Prices > Price in your WordPress dashboard and enable the “Hide Price and Add to Cart button” option. Once switched on, pricing and purchase buttons disappear from both the shop listing and individual product detail pages for anyone who is not signed in. No extra code or custom styling is required.

Does hiding prices for guests work on both the shop page and single product pages?
Yes, the setting applies across both views simultaneously — visitors browsing your catalogue and those landing directly on a product detail page will see neither the price nor the Add to Cart button. This ensures a consistent experience regardless of how a guest arrives at a product, preventing any accidental price disclosure through different entry points.

Can I replace the hidden price with a custom message instead of leaving a blank space?
Absolutely — the Price and Add to Cart Replacement Message field lets you substitute the hidden area with any text you choose. The default wording is “Login to see prices,” but you can tailor this to match your brand’s tone or direct visitors toward a registration form. Simply type your preferred message into that field and save.

Does this feature also hide prices from logged-in retail customers, or only guests?
Generally, the setting targets unauthenticated visitors specifically — logged-in customers retain standard WooCommerce price visibility based on their assigned role. If you want to restrict pricing further for certain authenticated groups, you would need to combine this with wholesale role-based price controls rather than relying on this guest-only toggle alone.

Why are prices still visible to some visitors after enabling the hide setting?
If pricing continues to appear after you save the option, first confirm the setting is saved correctly by revisiting Wholesale > Settings > Wholesale Prices > Price and checking the toggle is still active. A caching plugin may also be serving an older version of your pages to visitors — clear both your site cache and any CDN cache after making the change. If the issue persists with caching ruled out, check whether another plugin or theme is outputting price data independently of WooCommerce’s standard hooks.

Need Help?

If you have a question or run into any issues, we’re here to help.

Was this article helpful?

Related Articles

Need Support?

Can't find the answer you're looking for?
Contact Support
Complete Your Purchase