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.
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.
Show prices only to specific roles. A "Pending Approval" user sees hidden prices; an approved "Wholesale" user sees them. Same page, different experience.
Instead of just hiding, replace the Add to Cart button with a Request Quote button. Works seamlessly with the RFQ module.
Set hide-price rules globally or override per product or category. Some products public, some gated — full control.
Write any replacement text: HTML-supported. Link to your registration page, explain benefits, or show a phone number.
Use the woob2b_hide_price filter hook to override visibility per product and user via code — e.g. hide based on custom user meta.
Go to B2B Commerce Kit → Settings → Features → Hide Price and toggle on.
Under Settings → Hide Price Settings, choose: hide from guests only, hide from specific roles, or hide from everyone except specific roles.
Enter the text (HTML allowed) that replaces the price. Example: <a href="/register">Register for wholesale pricing</a>
Options: hide the button, replace with a custom button, or replace with the Quote Request button (requires RFQ module).
Edit any product and in the B2B Commerce Kit panel, set whether Hide Price applies to that specific product — overriding the global setting.
Guests and unapproved users see "Register for wholesale pricing." Approved buyers see prices normally. The full gated B2B catalogue setup.
Instead of just showing a message, replace the Add to Cart with "Request a Quote." Works for any product where price negotiation is expected.
| Setting | Description | Default |
|---|---|---|
Hide From | Guests only / specific roles / everyone except allowed roles | Guests only |
Replacement Text | HTML message to show instead of price. Supports links and formatting. | "Login to see price" |
Hide Add to Cart | Also hide the Add to Cart button for users who can't see the price. | On |
Replace with Quote Button | Show a Request Quote button instead. Requires RFQ module. | Off |
Apply to Shop Pages | Also 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.