Skip to main content

Email templates

What it does​

Change the wording, layout and subject of the three price request emails. You make a copy of a default template in Marketing → Communications → Email Templates, edit it, and then select your copy in the HidePrice settings.

Before you start​

  • The emails are set up. See Email notifications.
  • You can open Marketing → Communications → Email Templates and Stores → Configuration in the admin.

Steps​

The three templates​

Template Sent to Subject Selected in
HidePricePro: Request For Admin your team, about each new request New request and the request number Admin Notifications → Request Email Template
HidePricePro: Request Confirmation For Customer the customer, right after the request Request received Customer Notifications → Request Confirmation Email Template
HidePricePro: Reply Message For Customer the customer, with your reply Re: request and the request number Customer Notifications → Request Reply Message Email Template

The values each template can show, such as the customer's name or the product, are listed in Email template variables: for Request For Admin, Request Confirmation For Customer and Reply Message For Customer.

Customer text in a template​

What the customer typed reaches the template already made safe for an email: the name, email address, phone number, message and custom field answers. HTML a customer types shows as plain text and can't change your email. Your own copies of the templates stay safe without changes, also copies made from an older version.

To show the customer's message with its line breaks, use {{var messageHtml|raw}}, or {{var request.messageHtml|raw}} in Reply Message For Customer. The default templates do this. {{var message}} holds the same message, but its line breaks don't show in the email.

Use your own template​

  1. Go to Marketing → Communications → Email Templates.
  2. Click Add New Template.
  3. In Load Default Template, in Template, select the template to start from, for example HidePricePro: Reply Message For Customer.
  4. Click Load Template. The subject and content of the default template fill the form.
  5. In Template Name, enter a name you'll recognise, for example Price request reply - EN.
  6. Change Template Subject and Template Content as you need. To add a value such as the customer's name, click Insert Variable..., or see Email template variables.
  7. Click Save Template.
  8. Go to Stores → Configuration → MageMe Extensions → HidePrice.
  9. Expand the group of the email: Admin Notifications for Request Email Template, or Customer Notifications for the two customer templates.
  10. In the template setting, select your template by its name.
  11. Click Save Config.

To use different wording in each store view, make one template per language and select it with the store view switcher at the top of the configuration page.

What you should see​

  • The template setting shows your template's name instead of the default one with "(Default)".
  • The next email of that kind uses your text.

Limits​

  • The template setting lists the default template and your own email templates, also ones you started from a default template of another module. Pick the copy you made from the matching HidePrice Pro template.
  • A copy doesn't change when HidePrice Pro updates its default template. A copy made before version 3.1.7, for example, has no "Reference: request#…" line in the email to your team, shows the reply date instead of the request date in the reply email, and prints the customer's message without line breaks. Compare them after an update. See Updating HidePrice Pro.

Troubleshooting​

  • Your template isn't in the list. Check that you saved it in Marketing → Communications → Email Templates, then reload the configuration page.
  • The email still shows the old text. Check the store view switcher: the setting may be saved for another scope. Then send a new request or reply to test it.

What's next​

Last reviewed November 28, 2026