Replace the price with text or a button
What it does
Show something useful where a hidden price would be: a text such as "Price on request", a button that opens a message, a sign-in button or a WebForms form. Choose whether it shows on product pages, in product lists or in both. You set this up in Stores → Configuration → MageMe Extensions → HidePrice, in the Price Replacement group under General.
Looking for the Ask for Price button that opens the price request form? It isn't one of these options: you turn it on with the form itself. See Set up the price request form and button.
Before you start
- Elements to Hide is set to Both Price and Add to Cart or Price Only. The Price Replacement group appears only then. See Choose what to hide.
- For WebForms: Button With Popup, the WebForms Hide Price add-on is installed and the form exists. See Price request through a WebForms form.
Steps
-
Go to Stores → Configuration → MageMe Extensions → HidePrice. Expand General, then Price Replacement.
-
In Replace Price With, select what to show instead of the price. The options are described in Replace Price With.

-
If you selected Text, enter the text in Text, for example
Price on request. -
In Show In, select where the replacement shows. See Show In.
-
Click Save Config.
Replace Price With
| Option | What customers see where the price was | Fields that appear |
|---|---|---|
| N/A | Nothing. The price is removed and nothing takes its place. | None |
| Text | The text you enter. | Text |
| Button With Alert | A button that opens a dialog with your title, icon, message and a close button. Use it for "How to order" or "Call us" information. | Button texts, colors and the dialog content |
| Authentication Button | A sign-in button. Signed-in customers don't see it. | Button text and colors |
| WebForms: Button With Popup | A button that opens a WebForms form in a popup. In the list only when the WebForms Hide Price add-on is installed. | Form, button text and CSS classes |
HidePrice Pro ships no default for Replace Price With. While nothing is saved, nothing takes the price's place, as with N/A.
Text is the field for the text replacement. It appears only when Replace Price With is Text and is empty until you fill it in. One product can show its own text instead, with Custom Text to Display Instead of Price. See Per-product rules.
The texts and colors of Button With Alert and Authentication Button are set in the same group. See Button text and colors. How the sign-in button works is described in Sign-in button (Authentication Button).
WebForms: Button With Popup appears in the list only when the WebForms Hide Price add-on is installed. The add-on adds the fields to pick the form and the button text. The setup is described in Price request through a WebForms form.
Show In
Show In appears for every option except N/A. Both options are selected by default.
| Option | Where the replacement shows |
|---|---|
| Product View | The product page. |
| Product Listing | Category pages, search results and other product lists. |
Where you clear an option, the price is still hidden there, but nothing takes its place.
In product lists, the replacement stays on the price line of the card. A bundle shows its replacement once on its product page.
What you should see
Open a category with covered products as a guest. Each card shows your replacement where the price was.
On Hyvä:

On Luma:

Limits
- Every field of Price Replacement can differ per store view. See Store views and customer groups.
- The replacement takes the place the theme gives the price. If your theme moves it, your developer can set its position. See Theme integration.
- The price request button of the price request form is set up separately. See Set up the price request form.
Troubleshooting
- Prices vanish with nothing in their place. Replace Price With is N/A, or Show In leaves out this page. See N/A hides prices of every product.
- The replacement shows in the wrong place or twice. See The replacement shows in the wrong place or twice.
- WebForms: Button With Popup is not in the list. Install the WebForms Hide Price add-on. See Price request through a WebForms form.
What's next
- Replace the Add to Cart button: show text or a button where Add to Cart was.
- Button text and colors: match the buttons to your store.
- Set up the price request form: let customers ask for a price.
- Price Replacement settings: every field of this group in one table.