Role Based Add-To-Cart / Price Hide For Woocommerce — is an essential tool for any WooCommerce store owner who needs to offer different shopping experiences to different types of users. Whether you're running a B2B wholesale operation, a private members-only club, or simply want to hide prices from guest users, this plugin provides the granular control you need. It allows you to set up rules based on WordPress user roles, dictating who can see prices, who can add products to the cart, and who can see the products at all.
The plugin seamlessly integrates with your existing WooCommerce setup, providing an intuitive interface to manage these visibility and purchasing rules. You can create custom rules for each user role, including guests, subscribers, customers, and any custom roles you've created. This flexibility means you can tailor your e-commerce strategy precisely, encouraging guest users to register to see prices or offering exclusive pricing and products to your most loyal customers or wholesale partners. It's a powerful way to enhance user experience and drive sales by personalizing your storefront.
Why this is important
Without role-based controls, your WooCommerce store treats every visitor the same. This can lead to lost revenue and customer frustration. For instance, studies show that over 60% of B2B buyers expect personalized, B2C-like experiences, including custom catalogs and pricing. If your wholesale partners see the same retail prices as everyone else, you're creating friction and potentially losing their business. Similarly, forcing guests to see complex wholesale pricing can scare them away, leading to a higher cart abandonment rate, which already averages nearly 70% across all e-commerce sites. This plugin solves these problems by allowing you to create a tailored shopping journey for each user segment, boosting both B2B loyalty and B2C conversions.
Features
- Hide Prices by User Role: Completely hide product prices for specific user roles (e.g., guests).
- Hide 'Add to Cart' Button: Display products as a catalog by hiding the purchase button for certain roles.
- Custom Text Replacement: Replace the price or 'Add to Cart' button with custom text or a link (e.g., "Login to see price").
- Product Visibility Control: Hide specific products or entire categories from selected user roles.
- Role-Based Pricing: Set up different prices for the same product for different user roles (requires an extension).
- Global & Per-Product Settings: Apply rules globally to all products or override them on an individual product level.
- Works with All Product Types: Compatible with simple, variable, and grouped products in WooCommerce.
- Guest User Management: Create specific rules for non-logged-in visitors to encourage registration.
- Custom User Role Support: Fully compatible with custom user roles created by other plugins.
- Easy-to-Use Interface: Intuitive settings panel that integrates directly into your WordPress dashboard for quick configuration.
Impact of Role-Based Rules on Sales
| Scenario | Standard Store (Without Plugin) | Optimized Store (With Plugin) | Potential Uplift |
|---|---|---|---|
| Guest User Experience | Sees all prices, may be confused by wholesale options. | Sees a "Login for Price" prompt, encouraging registration. | +15% in user registrations |
| Wholesale Partner (B2B) | Sees retail pricing, must contact you for a quote. | Logs in to see exclusive wholesale prices and can order directly. | +30% in B2B order value |
| Members-Only Club | No way to hide exclusive products from the public. | Exclusive products are only visible and purchasable by members. | +25% in member retention |
| Catalog-Only Mode | Requires custom code or a separate, complex plugin. | Simply hide the "Add to Cart" button for all users in seconds. | 90% reduction in setup time |
How to install the plugin?
- Download the plugin archive using the button above.
- Navigate to Plugins > Add New in your WordPress dashboard.
- Click "Upload Plugin" at the top and select the downloaded ZIP file.
- Install, activate the plugin, and follow the quick setup wizard instructions.
FAQ
Can I hide prices for guest users but show them to logged-in customers?
Yes, absolutely. This is one of the primary features of the plugin. You can create a rule specifically for the "Guest" user role to hide the price and/or the "Add to Cart" button. Once a user logs in and has a different role (e.g., "Customer"), they will be able to see the prices and purchase items as normal.
Does this plugin support variable products?
Yes, the plugin is fully compatible with all standard WooCommerce product types, including simple, variable, and grouped products. You can apply the visibility rules to the main product, and they will cascade down to all its variations.
Is it possible to show different prices for different user roles?
This core plugin focuses on hiding or showing prices and add-to-cart buttons. While it doesn't manage different prices out of the box, it is designed to be compatible with popular role-based pricing extensions that do. This plugin handles the visibility, and the pricing plugin handles the price amount, creating a complete solution.
Can I hide an entire product category from a specific user role?
Yes, you can control visibility at both the individual product level and the category level. In the plugin settings, you can select which product categories should be hidden from specific user roles, making it easy to manage large catalogs for different user groups, such as creating a "Wholesale" category that is only visible to wholesale users.