Version 1.0.0 · Updated April 2026
Before installing, confirm your environment meets the following minimum requirements:
Hide Price & Show Custom Button is tested against the latest stable WooCommerce and WordPress releases and is HPOS (High Performance Order Storage) compatible.
hide-price.zip from your My Account downloads page.hide-price.zip on your local computer./wp-content/plugins/.hide-price folder.EA- licence key from your purchase confirmation email.Your licence key is also available from My Account → Orders on expertaddons.com.
Prices can be hidden at three levels: sitewide, per category, or per individual product. More specific settings override broader ones.
All products assigned to this category will have their prices hidden. If a product belongs to multiple categories and at least one has hiding enabled, the price is hidden unless overridden at product level.
See the Per-Product Override section for individual product control.
⚠️ Hiding prices also hides the Add to Cart button by default. If you want customers to be able to purchase (e.g., for logged-in users only), configure Role-Based Visibility so that the correct roles still see prices and the cart button.
When prices are hidden, the Add to Cart button is replaced with a custom button that you configure. This button can link customers to a contact form, a login page, an enquiry page, or any URL.
https://yoursite.com/contact) or a relative path (e.g., /contact). You can also select a WordPress page from the dropdown.The custom button appears in place of the Add to Cart button on the product page and in the shop/category loop.
The custom button is a plain HTML link (<a> tag) styled as a button. It does not add anything to the cart — it simply navigates the customer to the configured URL.
You can control which WordPress user roles see prices and the Add to Cart button, and which roles see the hidden price state (custom button, "Login to see price" message).
Common configurations:
Guests (not logged in) can be handled separately from logged-in users. Go to WooCommerce → Hide Price → Settings → Guests.
The Guest Behaviour setting applies only to users who are not logged in. Logged-in user behaviour is controlled entirely by the Role-Based Visibility settings.
Price hiding applies to product pages by default. You can control whether it also applies in the shop loop (archive/category pages) and other contexts.
Go to WooCommerce → Hide Price → Settings → Pages:
All four are enabled by default when price hiding is active. Uncheck any you want to exclude — for example, you might show prices on the shop grid for browsing but hide them on the product page for enquiry purposes.
Use these shortcodes to display prices conditionally or override hiding in specific page content:
[ea_show_price id="123"] — Show the price for product ID 123 regardless of hide settings. Useful on custom landing pages where you want to reveal a price. [ea_hide_price id="123"] — Force-hide the price for product ID 123 on this page, even if the global setting shows it. [ea_price_if_role role="wholesale_customer" id="123"] — Show the price only if the current user has the specified role. Outputs nothing for all other roles.
Replace 123 with the actual product ID. You can find the product ID in the URL when editing a product in the admin (post=123).
Every product can override the global and category-level settings. This gives you granular control without changing global rules.
Per-product overrides take the highest priority. A product set to "Always show price" will show its price even if the sitewide setting hides all prices.
Check if the current logged-in user's role is listed under Show price to these roles in the Roles settings. Administrators are shown prices by default — test while logged out or as a customer account. Also clear all caching (WooCommerce transients, page cache, object cache).
Confirm a Button Text has been entered in the Button settings. If the field is blank, no button is rendered. Also check that the price is actually being hidden for the current user — if the user role sees prices normally, the Add to Cart button is shown instead of the custom button.
Go to WooCommerce → Hide Price → Settings → Pages and confirm Hide on Shop page and Hide on Category pages are enabled. Some themes use custom loops that bypass WooCommerce's price filter hooks — contact support if the issue persists after enabling these settings.
WooCommerce outputs price ranges for variable products (e.g., "$10 – $50") using a separate filter. The plugin suppresses this, but some themes cache this output. Clear your theme's template cache and any full-page cache plugin.
Check that the product ID is correct. Also ensure the product is Published and not set to private or draft status. Confirm the shortcode spelling matches exactly — shortcodes are case-sensitive.
Our support team responds within 24 hours on business days. Email us at support@expertaddons.com and include your site URL, licence key, and a description of the issue for the fastest response.
Contact Support