Set up the price request form and button
What it does
The price request form lets a customer ask for the price of a product whose price you hide. It opens from an Ask for Price button, and each request lands in Sales → HidePrice → Price Requests. You set up the form in Stores → Configuration → MageMe Extensions → HidePrice, in the Price Request Form group.
Before you start
- HidePrice Pro hides the price of at least one product. See Choose which products.
- You can open Stores → Configuration in the admin. See Roles and permissions.
Steps
Turn on the form
- Go to Stores → Configuration → MageMe Extensions → HidePrice.
- Expand Price Request Form.
- In Enable Price Request Form, select Yes. The form is off after installation, and the field shows No.
- Click Save Config.
An Ask for Price button now shows on products whose price HidePrice Pro hides, and on products where it hides only Add to Cart.
To show the form on one product only, leave this setting at No and use the product attribute Always Show Price Request Form. See Per-product rules.
Every setting of this group is also listed in the Price Request Form settings reference.
Choose where the button shows
In Show In, select the places where the Ask for Price button appears:
- Product View: the product page.
- Product Listing: category pages, search results and other product lists.
Both are selected by default. To pick more than one, hold Ctrl (Cmd on a Mac) while you click.
Set the form texts
| Setting | Default | What it does |
|---|---|---|
| Title | {{var product.name}} - Price Request | The heading of the form. |
| Form Description Text | empty | Text shown above the fields, for example how soon you answer. It's an editor, so you can add links and formatting. |
| Request Button Text | Ask for Price | The text of the button that opens the form. |
| Submit Button Text | Submit Inquiry | The text of the button that sends the request. |
In Title, {{var product.name}} is a placeholder. The form replaces it with the name of the product the
customer asks about, so the default title reads, for example, "Aim Analog Watch - Price Request". You can move it,
remove it or write the title around it.
To go back to a default text, select Use system value next to the setting.

Change the order of the fields
Fields Order sets the order in which the fields show in the form. Drag the fields into the order you want. The default order is:
- First Name
- Last Name
- Phone Number
- Custom Field 1
- Custom Field 2
- Custom Field 3
- Message
- File Attachments
The order covers every field, but the form shows only the ones you turned on: Phone Number in Phone number field, File Attachments in File attachments, and the custom fields in Custom fields.
Click Save Config when you're done.
What the customer sees when signed in
A customer who is signed in finds the form already filled in with the first name, last name and email address of their account. After they send a request, the next form uses the name and email address from that request, until they sign out. On Luma it also fills in the phone number from that request; on Hyvä the phone field stays empty. A guest gets an empty form every time.
What happens after sending
When the customer clicks the submit button, the store checks the form. Email must be filled in with a valid address, and every field you set to Required must be filled in. If something is missing, the form isn't sent: the field is marked with a message under it, and nothing is saved. On Luma the message reads "This is a required field."; on Hyvä it names the field, for example "First Name field is required."
When the form is complete, the store saves the request and opens the page Thank you for reaching us!. The request appears in the Price Requests grid with the customer's details, the product, the store view and the IP address it was sent from.
What you should see
-
On a product with a hidden price, an Ask for Price button shows in the places you selected in Show In.
-
The button opens the form with the title, description and fields in the order you set.


-
After sending, the customer sees Thank you for reaching us! and the request is in Sales → HidePrice → Price Requests.
Limits
- All settings of this group work per store view. A store view can have its own texts.
- First Name, Last Name and Message have no Required setting. First Name and Last Name are always required, Message is always optional.
- The form has nine fields at most: five standard fields, three custom fields and File Attachments. To build a form of your own, see Use a WebForms form.
Troubleshooting
- There's no Ask for Price button. Check that Enable Price Request Form is Yes for the store view and that Show In includes the page you're looking at. See The price request form does not open.
- The button shows on a product whose price you didn't hide. Check the product attribute Always Show Price Request Form. See Per-product rules.
- On Hyvä, the form looks unstyled. See The form looks unstyled on Hyvä.
What's next
- Email notifications: get an email about each new request.
- Phone number field: add a phone field with country selection.
- Custom fields: ask for the quantity, a delivery date or anything else you need.
- Protect the form from spam: turn on Google reCAPTCHA for the form.