Choose what to hide: price or Add to Cart
What it does
Decide what disappears from products that hide their price: the price, the Add to Cart button, or both. Whatever you hide can be replaced by text or a button. You set this up in Stores → Configuration → MageMe Extensions → HidePrice, in the General group.
Before you start
- HidePrice Pro is turned on and covers the products you want. See Choose which products.
- You know who should still see prices. See Choose who sees prices.
Steps
-
Go to Stores → Configuration → MageMe Extensions → HidePrice. Expand General.
-
In Elements to Hide, select what to hide. The options are described in Elements to Hide.
-
Click Save Config.
Elements to Hide
| Option | What customers who may not see prices get | Replacement group shown below |
|---|---|---|
| Both Price and Add to Cart | No price and no way to buy the product online. | Price Replacement and Add To Cart Replacement |
| Price Only | No price, but Add to Cart stays. | Price Replacement |
| Add to Cart Only | The price stays, but the product can't be bought online. | Add To Cart Replacement |
HidePrice Pro ships no default for Elements to Hide. While nothing is saved, it hides both. Select a value and save it.
With Price Only, customers can still add the product to the cart. The cart row and the mini cart show the price text in place of the price (or nothing, if no price text is set), but Subtotal, Grand Total and checkout show the amount the customer pays. An accepted EasyQuote quote shows its agreed price. To keep a price fully private, hide Add to Cart too. See Where hidden prices stay hidden.
A product's own HidePrice Scope can hide more than this setting. Always Hide Buy Button hides Add to Cart even with Price Only. See Per-product rules.
What goes with Add to Cart
When Add to Cart is hidden for a product, HidePrice Pro removes every other way to buy it from the storefront too:
- Product page. The Add to Cart button goes together with the quantity box. On Hyvä, the quantity box is removed by the HidePrice Pro Hyvä companion module. For a bundle, the button that opens the bundle options goes too.
- Express checkout. PayPal and other express checkout buttons are hidden on the product page, because they would put the product in the cart.
- Product lists. Category pages, search results and related products show the card without Add to Cart. On Hyvä, the card doesn't show "In stock" either.
- Recently ordered. The sidebar with recently ordered products shows the product without the option to add it to the cart again.
A wishlist that holds a product HidePrice Pro covers for the customer can't be added to the cart as a whole, also with Price Only.
If you also want to hide swatches and custom options on these products, use Hide Product Options. See Product options, wishlist and compare. On product lists, that setting also removes the swatches under the card.
The product also can't be added to the cart or ordered in any other way: a direct link, the wishlist, a reorder or the store's APIs. See Where hidden prices stay hidden.
What you should see
With Add to Cart Only, the product page shows the price, without the quantity box and the Add to Cart button. In this example a replacement, the How to Order button, stands where Add to Cart was.

Limits
- Tier prices and the price in the page's meta tags are hidden on every covered product, also with Add to Cart Only. See Where hidden prices stay hidden.
- Elements to Hide can differ per store view. See Store views and customer groups.
Troubleshooting
- The replacement group I need is not on the page. It depends on Elements to Hide: Price Replacement shows for Both Price and Add to Cart and Price Only, Add To Cart Replacement for Both Price and Add to Cart and Add to Cart Only. Save the setting first.
- Add to Cart is still visible. See Add to Cart is still visible.
What's next
- Replace the price: show text or a button where the price was.
- Replace the Add to Cart button: show text or a button in its place.
- Product options, wishlist and compare: hide the links and options that go with a hidden price.
- General settings: every field of this group in one table.