Skip to main content

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​

  1. Go to Stores → Configuration → MageMe Extensions → HidePrice. Expand General, then Price Replacement.

  2. In Replace Price With, select what to show instead of the price. The options are described in Replace Price With.

    Replace Price With set to Text, with Show In and the replacement text
  3. If you selected Text, enter the text in Text, for example Price on request.

  4. In Show In, select where the replacement shows. See Show In.

  5. 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 Hyvä: product cards that show Price on request where the price would be

On Luma:

On Luma: product cards that show Price on request where the price would be

Limits​

Troubleshooting​

What's next​

Last reviewed November 28, 2026