Skip to main content

Email template variables

Overview​

HidePrice Pro sends three emails, each from its own template. This page lists the variables each template can use and what they insert. You choose the templates in Settings: Admin Notifications and Settings: Customer Notifications. To change the wording of an email, see Email templates.

Template Sent to When
HidePricePro: Request For Admin Your team A customer sends a price request.
HidePricePro: Request Confirmation For Customer The customer A customer sends a price request.
HidePricePro: Reply Message For Customer The customer You reply to a request.

The Status column tells you where a variable appears:

  • Listed, used: in the template's variable list, and the default template uses it.
  • Listed only (declared only): in the variable list, but the default template doesn't use it.
  • Not listed (used undeclared): the default template uses it, but it isn't in the variable list. You can still type it into your own template.

Type a variable into a template exactly as the Variable column shows it.

Variables with the customer's text come HTML-escaped: the name, email address, phone number, message and custom field answers. A template can print them with |raw and stay safe. See Customer text in a template.

HidePricePro: Request For Admin​

Variable Label in the variable list What it inserts Status
{{var customerName}} Customer Name The customer's first and last name. Listed, used
{{var customerEmail}} Customer Email The customer's email address. Listed, used
{{var customerPhone}} Customer Phone The phone number from the form. The template shows it only when the customer entered one. Listed, used
{{var customField1_name}} Customer Field 1 Name The label of Custom Field 1. Listed, used
{{var customField1_value}} Customer Field 1 Value What the customer entered in Custom Field 1. The template shows the field only when it has a value. Listed, used
{{var customField2_name}} Customer Field 2 Name The label of Custom Field 2. Listed, used
{{var customField2_value}} Customer Field 2 Value What the customer entered in Custom Field 2. Listed, used
{{var customField3_name}} Customer Field 3 Name The label of Custom Field 3. Listed, used
{{var customField3_value}} Customer Field 3 Value What the customer entered in Custom Field 3. Listed, used
{{var requestId}} Request ID The internal ID of the request, not the number customers see. Listed only (declared only)
{{var createdAt}} Request Created Date The date and time the request was sent, in the store's time zone. Listed, used
{{var product}} Requested Product Stays empty: HidePrice Pro does not fill it. Listed only (declared only)
{{var productHtml}} Requested Product Layout Stays empty: HidePrice Pro does not fill it. Listed only (declared only)
{{var request.getIncrementId()}} — The request number, as shown in Price Requests. Used in the subject, the heading and the "Reference: request#…" line. Not listed (used undeclared)
{{var store.getFrontendName()}} — The name of the store view the request came from. Not listed (used undeclared)
{{var productName}} — The requested product: its name, SKU and the options the customer chose. Not listed (used undeclared)
{{var message}} — The customer's message. Its line breaks don't show in the email. The template checks it to show the message only when there is one. Not listed (used undeclared)
{{var messageHtml}} — The customer's message with its line breaks kept. The template prints it with |raw. Not listed (used undeclared)

HidePricePro: Request Confirmation For Customer​

The same variables as the email to your team. The default template doesn't print the store name or the customer's email address. In both request templates, {{var incrementId}} also holds the request number; the default templates use request.getIncrementId() instead.

Variable Label in the variable list What it inserts Status
{{var customerName}} Customer Name The customer's first and last name. Listed, used
{{var customerEmail}} Customer Email The customer's email address. Listed only (declared only)
{{var customerPhone}} Customer Phone The phone number from the form. The template shows it only when the customer entered one. Listed, used
{{var customField1_name}} Customer Field 1 Name The label of Custom Field 1. Listed, used
{{var customField1_value}} Customer Field 1 Value What the customer entered in Custom Field 1. The template shows the field only when it has a value. Listed, used
{{var customField2_name}} Customer Field 2 Name The label of Custom Field 2. Listed, used
{{var customField2_value}} Customer Field 2 Value What the customer entered in Custom Field 2. Listed, used
{{var customField3_name}} Customer Field 3 Name The label of Custom Field 3. Listed, used
{{var customField3_value}} Customer Field 3 Value What the customer entered in Custom Field 3. Listed, used
{{var requestId}} Request ID The internal ID of the request, not the number customers see. Listed only (declared only)
{{var createdAt}} Request Created Date The date and time the request was sent, in the store's time zone. Listed, used
{{var product}} Requested Product Stays empty: HidePrice Pro does not fill it. Listed only (declared only)
{{var productHtml}} Requested Product Layout Stays empty: HidePrice Pro does not fill it. Listed only (declared only)
{{var request.getIncrementId()}} — The request number, as shown in Price Requests. Used in the heading. Not listed (used undeclared)
{{var productName}} — The requested product: its name, SKU and the options the customer chose. Not listed (used undeclared)
{{var message}} — The customer's message. Its line breaks don't show in the email. The template checks it to show the message only when there is one. Not listed (used undeclared)
{{var messageHtml}} — The customer's message with its line breaks kept. The template prints it with |raw. Not listed (used undeclared)

HidePricePro: Reply Message For Customer​

In this template the request details sit under request., so the customer's name is request.customerName, not customerName.

Variable Label in the variable list What it inserts Status
{{var message}} Message The text of your reply. Listed, used
{{var author}} Author The name of the admin user who wrote the reply. Listed only (declared only)
{{var createdAt}} Message Date The date and time of the reply, in the store's time zone. Listed only (declared only)
{{var request.customerEmail}} Customer Email The customer's email address. Listed only (declared only)
{{var request.customerPhone}} Customer Phone The phone number from the request. The template shows it only when there is one. Listed, used
{{var request.customField1_name}} Customer Field 1 Name The label of Custom Field 1. Listed, used
{{var request.customField1_value}} Customer Field 1 Value What the customer entered in Custom Field 1. Listed, used
{{var request.customField2_name}} Customer Field 2 Name The label of Custom Field 2. Listed, used
{{var request.customField2_value}} Customer Field 2 Value What the customer entered in Custom Field 2. Listed, used
{{var request.customField3_name}} Customer Field 3 Name The label of Custom Field 3. Listed, used
{{var request.customField3_value}} Customer Field 3 Value What the customer entered in Custom Field 3. Listed, used
{{var request.requestId}} Request ID The internal ID of the request, not the number customers see. Listed only (declared only)
{{var request.incrementId}} Request Increment ID The request number, as shown in Price Requests. Used in the subject and the summary line. Listed, used
{{var request.createdAt}} Request Date The date and time the request was sent, in the store's time zone. Used in the summary line. Listed, used
{{var productHtml}} Requested Product Layout Stays empty: HidePrice Pro does not fill it. Listed only (declared only)
{{var request.customerName}} — The customer's first and last name, used in the greeting. Not listed (used undeclared)
{{var request.productName}} — The requested product: its name, SKU and the options the customer chose. Not listed (used undeclared)
{{var request.message}} — The customer's original message. Its line breaks don't show in the email. The template checks it to show the message only when there is one. Not listed (used undeclared)
{{var request.messageHtml}} — The customer's original message with its line breaks kept. The template prints it with |raw. Not listed (used undeclared)

What's next​

Last reviewed November 28, 2026