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 topRequirements
↑ Back to top- WordPress 6.0 or later
- WooCommerce 7.0 or later
- Nextcloud server with Provisioning API enabled
- WooCommerce Subscriptions
To 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.
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.
