Flexicodes Logo
At Flexicodes, we believe a company’s website should reflect its true vision. By working with local freelancers, we can honor that belief while delivering individualized, high-quality services at competitive prices.

Mobile Marketing

Pay Per Click (PPC) Management

Conversion Rate Optimization

Email Marketing

Online Presence Analysis

Fell Free To contact Us
We are incredibly responsive to your requests and value your questions. They are an indication of taking ownership of the next steps in your business’s internet presence. Taking ownership relates to better questions, communication, and outcome of the processes to come.

1-734-627-7571

12855 East Old US HWY 12 Suite #5, Chelsea MI 48118

1-734-627-7571

12855 E Old US Hwy 12 Suite #5, Chelsea MI 48118

Top
Hiding Prices in WooCommerce and why you might do so

How to Hide Prices in WooCommerce and Keep Pricing Private

Not every WooCommerce store wants to show prices to all visitors. Some businesses need more control. Whether you’re a wholesaler, luxury brand, or service provider, hiding prices lets you engage buyers on your terms.

Why Hide Prices in WooCommerce?

Most WooCommerce stores display product prices by default. But for some businesses, open pricing isn’t ideal. Here’s why you might want to keep prices hidden:

  • Wholesale businesses – Prevent retail shoppers from seeing bulk discounts reserved for business buyers.
  • Luxury brands – Create exclusivity by displaying prices only to serious buyers.
  • Custom product makers – Pricing varies based on materials, designs, or customer needs.
  • B2B services – Encourage direct inquiries instead of fixed pricing.

WooCommerce doesn’t have a built-in option to hide prices, but you can achieve this using tested solutions.

Best Methods to Hide Prices in WooCommerce

We’ve tested multiple solutions and found three reliable ways to hide WooCommerce pricing. These methods work for wholesale suppliers, B2B companies, and luxury retailers alike.

Method 1: Hide Prices with Code (Quick & Free)

If you prefer a simple and cost-free solution, you can use custom code to hide prices from selected users.

Step 1: Install WPCode Plugin

WPCode makes it easy to add custom snippets to your WooCommerce site. First, install and activate the WPCode plugin.

Step 2: Add the Hide Price Code

In your WordPress dashboard, go to Code Snippets » Add New. Choose ‘PHP Snippet’ and paste this code:

add_filter( 'woocommerce_get_price_html', function( $price, $product ) {
if ( ! is_user_logged_in() ) {
return '<a href="' . esc_url( wc_get_page_permalink( 'myaccount' ) ) . '">Login to see price</a>';
}
return $price;
}, 10, 2 );

Save and activate the snippet. Now, only logged-in users can see your prices.

Step 3: Customize Your Message

Want a custom message instead of “Login to see price”? Simply edit this line in the snippet:

return '<a href="' . esc_url( wc_get_page_permalink( 'contact' ) ) . '">Request a Quote</a>';

Need help implementing this? Contact our team for a quick setup.

Method 2: Hide Prices for Non-Wholesale Users

If you’re selling to both wholesale and retail customers, use the Wholesale Suite plugin to hide prices from regular users while displaying wholesale prices to verified buyers.

Step 1: Install Wholesale Suite

Install and activate the Wholesale Suite plugin.

Step 2: Set Up Wholesale Pricing

Go to WooCommerce » Wholesale Prices and set special pricing for wholesale buyers.

Step 3: Hide Prices from Non-Wholesale Users

Under Wholesale » Settings, enable the ‘Hide Price and Add to Cart’ option for non-wholesale users.

Step 4: Create a Wholesale Registration Form

Use the built-in form feature or a plugin like Flexi-Forms to allow businesses to apply for a wholesale account.

Want a custom wholesale solution? Let’s build an optimized system for you.

Method 3: Turn WooCommerce Into a Product Catalog

For businesses that don’t sell directly online, the YITH WooCommerce Catalog Mode plugin helps create an online catalog without pricing.

Step 1: Install YITH Catalog Mode

Install and activate the YITH WooCommerce Catalog Mode plugin.

Step 2: Enable Catalog Mode

Go to YITH » Catalog Mode and disable the shopping cart and pricing display.

Step 3: Customize the Contact Button

Replace the “Add to Cart” button with a contact or quote request button.

Step 4: Add an Inquiry Form

Create a simple form for customers to request pricing information.

Need a fully customized online catalog? Get in touch for a customized implementation.

Final Thoughts: Choose the Right Method for Your Store

Hiding prices in WooCommerce depends on your business needs:

  • For a quick free option, use WPCode.
  • For wholesale pricing, use Wholesale Suite.
  • For a product catalog, use YITH Catalog Mode.

If you’re unsure which solution is best, let us help you choose. Our team specializes in WooCommerce customization and can implement the perfect setup for your business.

Ready to Take Your WooCommerce Store to the Next Level?

Whether you need custom pricing, a wholesale setup, or a premium product catalog, we’ve got you covered. Request a free consultation today!