Hide Price and Add to Cart Button
$29.40 Original price was: $29.40.$4.99Current price is: $4.99.
Hide Price and Add to Cart Button is a WooCommerce plugin that hides prices and the "Buy" button according to configurable rules, ideal for B2B stores, wholesalers, or restricted catalogs that need to control which users see what information. It works on top of WooCommerce without modifying the core, offering granular control over price visibility by role, category, or session status.
Introduction to Hide Price and Add to Cart Button
This module solves a very specific problem in WooCommerce stores: displaying prices or the buy button to users who shouldn't see them yet, either because they aren't logged in, don't belong to a specific role, or are accessing the store from a region where it operates only as a catalog. This leads to confusion, unnecessary support requests, and a loss of business control.
Technically, the extension intercepts the rendering of the price elements and the "add to cart" button before they reach the frontend, without altering the product data in the database. This maintains the integrity of the catalog while adjusting the experience based on dynamic visitor conditions.
An administrator managing a wholesale store, for example, can configure the tool so that prices are only visible to registered customers with the "wholesale" role, while anonymous visitors see a personalized message such as "Log in to see the price." All of this can be done from the settings panel, without touching any code.
Product overview
Price and buy button visibility is a critical control point in any store that operates with differentiated customer segments, and managing it manually or through code hacks generates errors, inconsistencies, and unnecessary operational work that scales poorly with the catalog.
Without this plugin, many operators rely on custom snippets or conditions within the active theme, creating fragile dependencies that break with every update and making it difficult to diagnose problems. Management becomes chaotic when the catalog grows or when new categories are added.
- Without the add-on: Prices are visible to all users regardless of their role, session status, or location, forcing the team to manage access requests or risk losing competitive advantage by displaying prices to competitors.
- With the active add-on: Specific rules are configured by user role, product category, or authentication status that determine exactly who sees the price and the purchase button, without manual intervention for each product.
- Observable result: The public catalog serves as a customer acquisition tool without exposing the pricing policy, and each customer segment receives exactly the experience the operator designed for it.
Requirements and compatibility
For this module to work correctly, you need an active installation of WooCommerce as the main dependency, and you also need to check that your theme does not override the standard pricing and purchase button hooks, which is especially relevant in highly customized themes or those with built-in page builders.
- Functional dependency on WooCommerce: the plugin relies on the standard filters and actions of the e-commerce plugin to intercept and condition the display.
- Compatibility with WordPress user roles, session states, product categories, and, depending on the configuration, specific checkout flow gateways and pages.
- It is advisable to validate the behavior in a staging environment when the active theme uses builders such as Elementor, Divi, or advanced Gutenberg, as these can render the price outside of standard hooks.
Key benefits for your operation
- Commercial control without price exposure: Many B2B stores lose their competitive edge when their pricing is publicly visible. This extension allows you to keep your catalog accessible while hiding sensitive information from unqualified visitors, protecting your pricing strategy without sacrificing product visibility.
- Removing fragile custom code: Snippets in functions.php or the theme break with updates, leading to hours of troubleshooting. By centralizing visibility logic in this module, the operator reduces technical debt and makes behavior predictable and auditable from the admin panel.
- Experience segmentation without additional development: Displaying different messages or actions to registered customers, wholesalers, guests, or users in specific regions typically requires custom development. This tool offers that segmentation natively, reducing setup time from days to minutes.
- Improved UX for the end customer: A visitor who sees a clear message like "log in to see the price" instead of an incorrect price or a broken button has a more consistent experience. This reduces the abandonment rate due to confusion and improves the perceived professionalism of the store.
- Scalability without manual intervention: When a catalog grows to hundreds or thousands of products, applying visibility rules individually becomes impractical. This plugin applies conditions globally or by category, meaning that a new product automatically inherits the rules of the group it belongs to.
- Traceability and operational consistency: By managing visibility from a single configuration point, any team member can audit which rules are active and why, reducing internal misunderstandings and making it easier to bring new administrators on board without a learning curve on code hacks.
Highlighted Features of Hide Price and Add to Cart Button
- Conditional hiding by user role: The extension detects the role assigned to the authenticated user and decides in real time whether to show or hide the price and button. This is essential for stores with different customer levels—retail, wholesale, distributor—that require differentiated experiences without duplicate pages.
- Customizable message for unauthorized users: Instead of a confusing blank space, the operator can define text or a link that guides the visitor toward the desired action, whether it's registering, contacting the sales team, or requesting access. This transforms a potential roadblock into a conversion opportunity.
- Global or selective application by category and product: The rules can operate at the entire store level, only in certain categories, or even on individual products, providing flexibility for mixed situations where some products are public and others are restricted within the same catalog.
- Session state compatibility: The tool distinguishes between anonymous and authenticated users regardless of the registration method. This allows, for example, a catalog to be fully visible to any visitor, but the purchase button to only appear upon login—a common workflow on professional sales platforms.
- Non-destructive integration with the catalog: Hiding the price does not modify the value stored in the database or affect sales reports, catalog exports, or integrations with external systems. The hiding is strictly visual and conditional, thus maintaining data integrity.
- Centralized management from the administration panel: All configuration resides in the WooCommerce back office, eliminating the need to access server files or understand PHP. This democratizes visibility and management within the team and reduces reliance on technical expertise for recurring operational tasks.
Who is this product for?
This add-on is especially useful for operators managing stores with multiple customer segments, where displaying the same price to everyone creates commercial, operational, or reputational problems. It applies to both B2B businesses that negotiate customized pricing and to mixed catalogs that include both public and restricted-access products.
- Administrators or technicians who need to control price visibility without relying on custom code or manual product-by-product interventions.
- Teams that manage multiple projects or stores and need a standardized solution that works consistently in different environments without deep reconfiguration.
- Marketing or UX managers who design differentiated conversion flows based on customer type and need the interface to accurately reflect that segmentation without technical friction.
Real-world use cases
- Wholesale store with confidential prices: A building materials distributor has an online catalog where prices are negotiated with each customer. Without visibility controls, any visitor—including competitors—can view their rates. By implementing this module, prices are only visible to authenticated users with the correct role, while everyone else sees a contact form. The result is a catalog that generates qualified leads instead of exposing sensitive business information.
- Marketplace with subscription access: A digital product platform wants its catalog to be visible to everyone, but only allows active subscribers to add products to their cart. The tool hides the purchase button for non-subscribers and instead displays a link to the subscription page. This reduces friction for interested users and increases the conversion rate to a paid plan.
- Reference catalog without transactional function: A company that sells through sales representatives needs an online catalog for customers to browse products, but doesn't want them to be able to buy directly. By hiding both the price and the purchase button globally, the catalog functions as a presentation tool without enabling the transactional flow, eliminating erroneous orders and correctly redirecting demand to the official sales channel.
- Store with prices that vary by region: An operator selling in multiple countries manages different rates depending on the customer's location. To avoid showing incorrect prices to visitors from regions where pricing hasn't yet been configured, use this plugin to hide the price and button in those regions and display an "coming soon" message. This prevents returns due to incorrect expectations and maintains consistent pricing across markets.
Frequently Asked Questions about Hide Price and Add to Cart Button
Does it work with any WooCommerce theme or are there restrictions?
The plugin operates through standard WooCommerce filters and actions, making it compatible with most themes that adhere to that architecture. However, themes with highly customized visual builders—such as some based on Elementor Pro or Divi—may render pricing elements outside of standard hooks. In these cases, it's advisable to validate the behavior in a staging environment before deploying it to production. WooCommerce-certified themes generally do not present compatibility issues.
What do customers see when the price or button is hidden?
Instead of a blank space or a display error, the operator can configure a custom message that guides the visitor toward the desired action. This could be simple text, a link to a contact form, or a registration button. This transforms what could be a confusing experience into an intentional touchpoint within the customer acquisition flow.
Can different rules be created for different product categories?
Yes. The tool allows you to apply visibility conditions globally, by category, or for individual products. This is useful when the catalog mixes open-access products with restricted products. For example, a store can display prices for its consumer line while hiding prices for its professional line until the user identifies themselves as an authorized distributor.
Does it affect the automatic renewal process or recurring orders?
The button's visibility is strictly visual and conditional on the front end. Recurring orders and automatic renewals managed by WooCommerce Subscriptions or payment gateways operate at the data level and are independent of the button's visibility in the catalog. A customer with an active subscription will not experience any interruption to their billing cycle simply because the button is hidden for other users.
How does it interact with coupons or volume discounts?
Hiding the price does not disable internal discount mechanisms. Coupons, quantity-based pricing rules, and role-based discounts continue to function normally for users who have access to the price and the purchase button. The tool controls visibility, not the underlying pricing logic, so both layers coexist without conflict.
Is performance affected in stores with large catalogs?
The hiding logic is evaluated during the rendering of each product, making it a lightweight operation compared to processes like tax calculation or shopping cart management. In stores with extensive catalogs, the performance impact is marginal as long as the server is properly sized. No significant degradation has been observed in well-configured environments, although, as with any extension, monitoring load metrics in production is a good practice.
Is it possible to use it in a multisite installation or with several stores?
The module can be activated per site in a WordPress multisite installation, allowing for independent configurations for each store within the network. Each WooCommerce instance maintains its own visibility rules, roles, and custom messaging. This is especially useful for agencies or business groups managing multiple brands from a shared infrastructure without configuration conflicts.
How can I verify that the plugin is working correctly?
The most direct way is to open a private browsing session and access the catalog as an anonymous user: if the rules are active, the price or button should not appear, and the configured message should be displayed instead. It's also advisable to create a test user with the restricted role and verify that they see exactly what the operator defined. Reviewing the behavior on category pages, individual product pages, and search results covers the main rendering points.
Short description
Control which users see prices and the buy button in WooCommerce based on role, session status, or category, without custom code. Ideal for B2B stores, restricted catalogs, and operations with differentiated customer segments.
Written and reviewed by the PrimeGPL Team
At PrimeGPL, we ensure that every piece of published content is verified and reviewed by our team. We analyze features, compatibility, and performance to provide you with clear, up-to-date, and truly useful information for each product listed in our store.
Get your questions answered here
We answer your questions so you can buy in an informed and confident manner.
Does my purchase include updates?
Yes. Every product purchase includes lifetime updates, so you won't have to pay extra under any circumstances.
Is there a daily download limit?
No, not at all. After your purchase, you can download it as many times as you need, without any problem.
On how many websites can I use the products?
You can use your purchases on as many domains (websites) as you want, without any problems.
Does it include technical support?
Yes. We offer technical support Monday through Friday, during business hours UTC -3. This support includes assistance with issues related to download problems, installation problems, or errors with the purchased product.
Furthermore, support does not include configurations, customizations, tutorials, or services associated with the author.
Does my purchase have a warranty?
Yes, of course. If you have any problem that we can't solve, or if there's an external issue that doesn't have a general solution related to our service, you'll receive support and, if necessary, a full refund.
How do I access support?
After your purchase, from your user account, you can access the support section, where you can open a ticket and our team will assist you with whatever you need.
Download Previous Versions
If you have purchased this product, or have an active membership, you can download previous versions without any limits or restrictions.
| Product Name | Version | Size | Date | Download |
|---|---|---|---|---|
| No hay versiones anteriores registradas. | ||||
Related Products
Below we show you different products that share the same category.
