Price and Cart Hider for WooCommerce allows your WooCommerce store to hide product prices and the Add to Cart button based on flexible, rule-based conditions.
Installation
↑ Back to topTo start using a product from WooCommerce.com, you can use the โAdd to storeโ functionality on the order confirmation page or the My subscriptions section in your account.
- Navigate to My subscriptions.
- Find the Add to store button next to the product youโre planning to install.
- Follow the instructions on the screen, and the product will be automatically added to your store.
Alternative options and more information at:
Managing WooCommerce.com subscriptions.
Setup and Configuration
↑ Back to topGetting started
↑ Back to topTo set up your store with Price and Cart Rules:
- Go to: WooCommerce > Price and Cart Rules.
- Click Add New Rule.
- Enter a title for your rule (e.g., “Hide Price for Guests”).
- Tick the checkbox to Enable the rule.
Advanced configuration
↑ Back to topUse the Hide Rule Settings meta box to toggle between hiding prices, hiding the cart button, or replacing the price with custom text. You can target specific User Roles, Products, or Categories to ensure the right users see the right information.
Usage
↑ Back to topWhen a rule is active, customers will see your Custom Replacement Text (e.g., “Login for price”) in place of the standard WooCommerce price. If the Add to Cart button is hidden, it will be removed from both the single product page and the shop archive pages, preventing unauthorized purchases.
Troubleshooting
↑ Back to topPrice still showing? Ensure the rule is set to Published and that your user role matches the one defined in the rule.
Cache issues? If you use a caching plugin, clear your site cache after saving a new rule.
Admin visibility: Remember that administrators may still see prices unless explicitly included in a rule.
FAQs
↑ Back to topHelp customers by answering commonly asked questions.
Can I hide prices only for logged-out users?
Yes. In theย User Rolesย section of a rule, selectย Guest.
Can I show a "Contact Us" button instead of the price?
ย Yes. Enable theย Show Custom Buttonย option in your rule settings and provide a link to your contact page.
Does this work with WooCommerce Blocks?
Yes, the extension is fully compatible with the new Cart and Checkout blocks.
