Pricing & Discounts · Module 3.10 Module 3.10

Hide Price / Call for Price

Control exactly who sees prices and the Add to Cart button. Replace them with a login prompt, custom message, or a Request Quote button for non-eligible visitors.

In plain terms: Retail visitors or guests land on your site and see products — but prices say "Login to see wholesale pricing" instead of a number. The moment they log in with a wholesale account, prices appear. It's the standard gated-catalogue setup for B2B stores that don't want retail visitors to know their wholesale rates.

Hide by Login Status

Show prices only to logged-in users. Guests see your custom message — e.g. "Register for wholesale pricing" with a link to your B2B registration page.

Hide by Role

Show prices only to specific roles. A "Pending Approval" user sees hidden prices; an approved "Wholesale" user sees them. Same page, different experience.

Replace with Quote Button

Instead of just hiding, replace the Add to Cart button with a Request Quote button. Works seamlessly with the RFQ module.

Per-Product Overrides

Set hide-price rules globally or override per product or category. Some products public, some gated — full control.

Custom Message Builder

Write any replacement text: HTML-supported. Link to your registration page, explain benefits, or show a phone number.

Programmatic Control

Use the woob2b_hide_price filter hook to override visibility per product and user via code — e.g. hide based on custom user meta.

Setup

Common Combinations

Hide Price + B2B Registration + Approval

Guests and unapproved users see "Register for wholesale pricing." Approved buyers see prices normally. The full gated B2B catalogue setup.

Hide PriceB2B RegistrationUser Roles
Flow: Visitor → Register → Pending Approval role (no prices) → Admin approves → Wholesale role → Prices visible.

Hide Price + RFQ Quote Button

Instead of just showing a message, replace the Add to Cart with "Request a Quote." Works for any product where price negotiation is expected.

Hide PriceRFQ System
Result: Guest or non-wholesale buyer sees "Call for Price — Request a Quote" instead of a price. One click opens the quote form.

Key Settings

SettingDescriptionDefault
Hide FromGuests only / specific roles / everyone except allowed rolesGuests only
Replacement TextHTML message to show instead of price. Supports links and formatting."Login to see price"
Hide Add to CartAlso hide the Add to Cart button for users who can't see the price.On
Replace with Quote ButtonShow a Request Quote button instead. Requires RFQ module.Off
Apply to Shop PagesAlso hide prices on shop/category listing pages, not just product pages.On

Yes. Enable "Apply to Shop Pages" in Settings → Hide Price. Prices on shop listings, category archives, and featured product widgets will all be replaced with your custom message for non-eligible users.

Yes. On any product's edit screen, find the B2B Commerce Kit panel and set Hide Price Override to "Always Show." This bypasses the global Hide Price rules for that specific product — useful for sample products or publicly priced entry-level items.

Hide Price only controls price and Add to Cart visibility — the product page itself is still accessible. To fully restrict product page access, use the Private Catalogs module. Combine both for a complete solution: Private Catalogs restricts page access, Hide Price gives a nicer fallback message if needed.